summaryrefslogtreecommitdiff
path: root/include/configs/am43xx_evm.h
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2017-09-20 14:38:50 -0500
committerTom Rini <trini@konsulko.com>2017-09-29 14:07:55 -0400
commit373358f27ad4960480e63e6445bca2a5fd089479 (patch)
treec1bfe116fdbc1ceb5dd07929fd2ff59cbc205b39 /include/configs/am43xx_evm.h
parent0830d72bb9f8c07d76b67ba7ac3f5e679f767de0 (diff)
configs: am43xx_evm: Avoid relocation onto firewall at the end of DRAM
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>
Diffstat (limited to 'include/configs/am43xx_evm.h')
-rw-r--r--include/configs/am43xx_evm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index b84f6e3480..7ee69b0c78 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -326,4 +326,9 @@
#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 */