Skip to content
Snippets Groups Projects
Commit 32d333f2 authored by Daniel Allred's avatar Daniel Allred Committed by Tom Rini
Browse files

ti_omap5_common: mark region of DRAM protected on HS parts


If the ending portion of the DRAM is reserved for secure
world use, then u-boot cannot use this memory for its relocation
purposes. To prevent issues, we mark this memory as PRAM and this
prevents it from being used by u-boot at all.

Signed-off-by: default avatarDaniel Allred <d-allred@ti.com>
parent 501f0ef3
No related branches found
No related tags found
No related merge requests found
...@@ -144,6 +144,14 @@ ...@@ -144,6 +144,14 @@
*/ */
#define TI_OMAP5_SECURE_BOOT_RESV_SRAM_SZ 0x1000 #define TI_OMAP5_SECURE_BOOT_RESV_SRAM_SZ 0x1000
#define CONFIG_SPL_TEXT_BASE 0x40301350 #define CONFIG_SPL_TEXT_BASE 0x40301350
/* If no specific start address is specified then the secure EMIF
* region will be placed at the end of the DDR space. In order to prevent
* the main u-boot relocation from clobbering that memory and causing a
* firewall violation, we tell u-boot that memory is protected RAM (PRAM)
*/
#if (CONFIG_TI_SECURE_EMIF_REGION_START == 0)
#define CONFIG_PRAM (CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE) >> 10
#endif
#else #else
/* /*
* For all booting on GP parts, the flash loader image is * For all booting on GP parts, the flash loader image is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment