diff options
author | Julius Werner <jwerner@chromium.org> | 2019-03-15 11:25:45 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-19 21:40:15 +0000 |
commit | b55df4f1a8c718040903c70ca91e0d845d5e2826 (patch) | |
tree | 250ea0076abdd475206c03ac4d750110b519a726 | |
parent | b0158e0b144c76d953492f29d1b22a1f05890188 (diff) |
rockchip/rk3399: Remove obsolete BL31 resource reservation
RK3399 SoC code still manually excludes the BL31 region from the memory
map, even though that is now automatically done with the BL31()
memlayout region. CB:31123 and CB:31538 just forgot to remove this line.
The resulting memory map stays the same.
Change-Id: I87458fa09f437b038af10e0fd9d76ef6d9394bc5
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31914
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ting Shen <phoenixshen@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r-- | src/soc/rockchip/rk3399/soc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/soc/rockchip/rk3399/soc.c b/src/soc/rockchip/rk3399/soc.c index 65b791d5a3..ee8ac8a4bf 100644 --- a/src/soc/rockchip/rk3399/soc.c +++ b/src/soc/rockchip/rk3399/soc.c @@ -26,7 +26,6 @@ #include <stdlib.h> #include <string.h> #include <symbols.h> -#include <arm-trusted-firmware/plat/rockchip/rk3399/include/shared/bl31_param.h> void bootmem_platform_add_ranges(void) { @@ -43,12 +42,6 @@ static void soc_read_resources(struct device *dev) static void soc_init(struct device *dev) { - /* - * Reserve the whole TZRAM area because it will be marked as secure-only - * by BL31 and can not be accessed by the non-secure kernel. - */ - mmio_resource(dev, 1, (TZRAM_BASE / KiB), (TZRAM_SIZE / KiB)); - if (CONFIG(MAINBOARD_DO_NATIVE_VGA_INIT) && display_init_required()) rk_display_init(dev); else |