[coreboot-gerrit] New patch to review for coreboot: e56b8da t132: Add TTB_BUFFER to resource reserved

Marc Jones (marc.jones@se-eng.com) gerrit at coreboot.org
Sat Mar 14 00:04:51 CET 2015


Marc Jones (marc.jones at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8681

-gerrit

commit e56b8da01a4ede1a88e616ada73905546d9d9ffc
Author: Furquan Shaikh <furquan at google.com>
Date:   Fri Jul 25 14:50:23 2014 -0700

    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.
    
    Original-Change-Id: Idd5cd0235d50f7b9617df2cead3bf71012e3b630
    Original-Signed-off-by: Furquan Shaikh <furquan at google.com>
    Original-Reviewed-on: https://chromium-review.googlesource.com/210000
    Original-Tested-by: Furquan Shaikh <furquan at chromium.org>
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Original-Commit-Queue: Aaron Durbin <adurbin at chromium.org>
    (cherry picked from commit 670e21ed11f985ca6cfef4f051c71b3c06f9c6ff)
    Signed-off-by: Marc Jones <marc.jones at se-eng.com>
    
    Change-Id: Ifcbdd4fdaad0bd4bfe384698b13cc5013317345e
---
 src/soc/nvidia/tegra132/soc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/soc/nvidia/tegra132/soc.c b/src/soc/nvidia/tegra132/soc.c
index 3a419bc..f4ef928 100644
--- a/src/soc/nvidia/tegra132/soc.c
+++ b/src/soc/nvidia/tegra132/soc.c
@@ -38,6 +38,10 @@ 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);
+
+
 	/*
 	 * TODO: Frame buffer needs to handled as a carveout from the below_4G
 	 * uintptr_t framebuffer_begin = framebuffer_attributes(&framebuffer_size);



More information about the coreboot-gerrit mailing list