t132: Add TTB_BUFFER to resource reserved
TTB_BUFFER holds the MMU tables. Thus, this memory needs to be preserved while performing a wipe in depthcharge. Hence, marking it as reserved BUG=None BRANCH=None TEST=Compiles successfully and boots upto depthcharge. Error wiping memory tables is fixed. Change-Id: Idd5cd0235d50f7b9617df2cead3bf71012e3b630 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/210000 Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Commit-Queue: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
158872ff7c
commit
670e21ed11
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ static void soc_read_resources(device_t dev)
|
|||
reserved_ram_resource(dev, index++, begin * KiB, size * KiB);
|
||||
}
|
||||
|
||||
reserved_ram_resource(dev, index++, CONFIG_TTB_BUFFER / KiB,
|
||||
CONFIG_TTB_SIZE / KiB);
|
||||
|
||||
framebuffer_begin = framebuffer_attributes(&framebuffer_size);
|
||||
//TODO: Frame buffer needs to handled as a carveout from the below_4G
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue