The AM571x SoC has 1 GB DDR space. As part of normal re-location process U-Boot copies itself to the top of DDR bank. However, on HS devices, the top 0x2500000 is used by PPA and is firewalled. This results in an exception and the boot fails.
Introduce a new defconfig for AM571x HS platforms and set CONFIG_SYS_MEM_TOP_HIDE to reserve the top 0x2600000 memory (aligned to 2MB as per page size for ARM32) for the same. Signed-off-by: Beleswar Padhi <[email protected]> --- configs/am571x_hs_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 configs/am571x_hs_evm_defconfig diff --git a/configs/am571x_hs_evm_defconfig b/configs/am571x_hs_evm_defconfig new file mode 100644 index 00000000000..7e44ee5221a --- /dev/null +++ b/configs/am571x_hs_evm_defconfig @@ -0,0 +1,3 @@ +#include <configs/am57xx_hs_evm_defconfig> + +CONFIG_SYS_MEM_TOP_HIDE=0x2600000 -- 2.34.1

