diff mbox series

[U-Boot] configs: am43xx_evm: Avoid relocation onto firewall at the end of DRAM

Message ID 20170920193850.5375-1-afd@ti.com
State Accepted
Commit 373358f27ad4960480e63e6445bca2a5fd089479
Delegated to: Tom Rini
Headers show
Series [U-Boot] configs: am43xx_evm: Avoid relocation onto firewall at the end of DRAM | expand

Commit Message

Andrew Davis Sept. 20, 2017, 7:38 p.m. UTC
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 | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Tom Rini Sept. 29, 2017, 8:26 p.m. UTC | #1
On Wed, Sep 20, 2017 at 02:38:50PM -0500, Andrew F. Davis wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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 */