aboutsummaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra132/soc.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-08-19 11:17:56 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-03-27 08:03:24 +0100
commit9edf38ef1f366f10f1878cec34918934faf12dac (patch)
tree72f5769fd6a347f42276a50e1cb2100ee15b2e16 /src/soc/nvidia/tegra132/soc.c
parentdbe7085be6c3d3261562ad54d3ed62407fe11d50 (diff)
tegra132: move page tables to trustzone region
In order to access secure device register space the cpu needs to have the page tables marked as secure memory. In addition the page tables need to live within secure memory otherwise the accesses default to non-secure. Therefore move the page tables to the trustzone region. Remove the TTB_* config options as well as removing the TTB reservations from coreboot's resource list. BUG=chrome-os-partner:31355 BUG=chrome-os-partner:31356 BRANCH=None CQ-DEPEND=CL:213140 TEST=Built and booted into kernel. Change-Id: I1fc8dda932c36935f8523792bc1147f6b0743d11 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 1522a83bb57e33749843d5b3ea5545ded97a3953 Original-Change-Id: Ia4b9d07ef35500726ec5b289e059208b9f46d025 Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/213141 Reviewed-on: http://review.coreboot.org/8994 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/nvidia/tegra132/soc.c')
-rw-r--r--src/soc/nvidia/tegra132/soc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/nvidia/tegra132/soc.c b/src/soc/nvidia/tegra132/soc.c
index 519ba37684..276ea7b784 100644
--- a/src/soc/nvidia/tegra132/soc.c
+++ b/src/soc/nvidia/tegra132/soc.c
@@ -40,10 +40,6 @@ 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);