From 18f754a275083ea66823b1c9f39e234cf430140e Mon Sep 17 00:00:00 2001 From: Boyan Karatotev Date: Thu, 14 Dec 2023 10:15:12 +0000 Subject: [PATCH] feat(tc): allow booting from DRAM In some occasions it is useful to boot with the rest of system (RoS) disabled. With no RoS there's no flash so we need to put images somewhere and that's in the DRAM1 bank. If we want to access it it needs to be mapped to memory. Signed-off-by: Boyan Karatotev Change-Id: I45e0fbb016e8f615d41b6ad9da0d1e7b466ece72 --- plat/arm/board/tc/tc_plat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plat/arm/board/tc/tc_plat.c b/plat/arm/board/tc/tc_plat.c index 27d4b117f..e5d05c42e 100644 --- a/plat/arm/board/tc/tc_plat.c +++ b/plat/arm/board/tc/tc_plat.c @@ -30,6 +30,7 @@ #if IMAGE_BL1 const mmap_region_t plat_arm_mmap[] = { ARM_MAP_SHARED_RAM, + TC_MAP_NS_DRAM1, TC_FLASH0_RO, TC_MAP_DEVICE, {0}