fix(stm32mp1): update the FIP load address for serial boot

Update the FIP load address and size for serial boot to support
product with a DDR size = 128MB
1/ Move the FIP location at the end of the first 128MB
2/ Reduce the DWL_BUFFER_SIZE to 16MB, to be coherent with the value
   indicated in USB enumeration
   - for STM32MP13x: "@SSBL /0x03/1*16Me"
   - for STM32MP15x: "@Partition3 /0x03/1*16Me"

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Change-Id: Id93bf00c64832c17426bfd78e060861275677ecc
This commit is contained in:
Patrick Delaunay 2022-02-28 11:02:35 +01:00 committed by Yann Gautier
parent e7705e9afd
commit 32f2ca04bf

View file

@ -103,8 +103,8 @@
#define PLAT_STM32MP_NS_IMAGE_OFFSET BL33_BASE
/* Needed by STM32CubeProgrammer support */
#define DWL_BUFFER_BASE (STM32MP_DDR_BASE + U(0x08000000))
#define DWL_BUFFER_SIZE U(0x08000000)
#define DWL_BUFFER_BASE (STM32MP_DDR_BASE + U(0x07000000))
#define DWL_BUFFER_SIZE U(0x01000000)
/*
* SSBL offset in case it's stored in eMMC boot partition.