]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: am64x_evm_a53_defconfig: Move TF-A load address to 0x701c0000
authorAswath Govindraju <a-govindraju@ti.com>
Wed, 16 Jun 2021 16:38:20 +0000 (22:08 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Thu, 15 Jul 2021 12:26:04 +0000 (17:56 +0530)
Earlier, the region 0x701c0000 to 0x701dffff was firewalled off because of
a bug in SYSFW. In the v2021.05 release of SYSFW this bug has been fixed
and this region can now be used for other allocations.

Therefore, move TF-A's load address to 0x701c0000 and update its location
in the device tree node. Also, increase the size allocated for TF-A to
account for future expansions.

Fixes: defd62ca137b ("arm: dts: k3-am64-main: Update the location of ATF in SRAM and increase its max size")
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
Link: https://lore.kernel.org/r/20210616163821.20457-2-a-govindraju@ti.com
arch/arm/dts/k3-am64-main.dtsi
configs/am64x_evm_a53_defconfig

index 6b5ebec6b1fef149a8ed4cded0831f38182c1a82..f68b969a2e9b9cc207e0a19cb7ca7006a172e500 100644 (file)
@@ -13,8 +13,8 @@
                #size-cells = <1>;
                ranges = <0x0 0x00 0x70000000 0x200000>;
 
-               atf-sram@0 {
-                       reg = <0x1a0000 0x1c000>;
+               tfa-sram@1c0000 {
+                       reg = <0x1c0000 0x20000>;
                };
        };
 
index ba3f9ad328399fbfee123955dccb350c41d656cb..6fab1deeb2703f8b8edcb844a78c5dc1e0228ea2 100644 (file)
@@ -5,7 +5,7 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SYS_MALLOC_F_LEN=0x8000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_SOC_K3_AM642=y
-CONFIG_K3_ATF_LOAD_ADDR=0x701a0000
+CONFIG_K3_ATF_LOAD_ADDR=0x701c0000
 CONFIG_TARGET_AM642_A53_EVM=y
 CONFIG_ENV_SIZE=0x20000
 CONFIG_SYS_SPI_U_BOOT_OFFS=0x280000