feat(stm32mp13): change BL33 memory mapping

U-Boot is loaded at the beginning of the DDR:
STM32MP_DDR_BASE = 0xC0000000.

This patch remove the need to use the 0x100000 offset, reserved
on STM32MP15 for flashlayout.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Change-Id: I8d0a93f4db411cf59838e635a315c729cccee269
This commit is contained in:
Patrick Delaunay 2021-04-13 14:44:48 +02:00 committed by Yann Gautier
parent e45ffa18d3
commit 10f6dc7893

View file

@ -182,7 +182,12 @@ enum ddr_type {
#endif
#endif
#if STM32MP13
#define STM32MP_BL33_BASE STM32MP_DDR_BASE
#endif
#if STM32MP15
#define STM32MP_BL33_BASE (STM32MP_DDR_BASE + U(0x100000))
#endif
#define STM32MP_BL33_MAX_SIZE U(0x400000)
/* Define maximum page size for NAND devices */