]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: am43xx_evm: Avoid relocation onto firewall at the end of DRAM
authorAndrew F. Davis <afd@ti.com>
Wed, 20 Sep 2017 19:38:50 +0000 (14:38 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 29 Sep 2017 18:07:55 +0000 (14:07 -0400)
On secure devices the initial secure software may install a firewall at
the end of DRAM, define protected RAM to avoid space.

Signed-off-by: Andrew F. Davis <afd@ti.com>
include/configs/am43xx_evm.h

index b84f6e3480cb118d9fbb14f9de249341c9d186b4..7ee69b0c787ecfc17b585b7ff3efeb8a06bc2636 100644 (file)
 #define NANDBOOT
 #endif /* CONFIG_NAND */
 
+#if defined(CONFIG_TI_SECURE_DEVICE)
+/* Avoid relocating onto firewalled area at end of DRAM */
+#define CONFIG_PRAM (64 * 1024)
+#endif /* CONFIG_TI_SECURE_DEVICE */
+
 #endif /* __CONFIG_AM43XX_EVM_H */