[PATCH 1/3] imx9: scmi: Fix SPL trampoline buffer for 1GB DDR
Peng Fan
peng.fan at oss.nxp.com
Thu Jun 18 04:02:54 CEST 2026
On Thu, Jun 18, 2026 at 09:17:47AM +0800, ye.li at oss.nxp.com wrote:
>From: Ye Li <ye.li at nxp.com>
>
>After supporting get DRAM size from SM, the trampoline buffer address
>still depends on PHYS_SDRAM_SIZE. If the real DDR size is less than
>PHYS_SDRAM_SIZE, the trampoline buffer address is invalid and SPL will
>crash. So use board_phys_sdram_size to get real DDR size to calculate
>correct address.
>
>Fixes: e1cc7117b630 ("imx9: scmi: Get DDR size through SM SCMI API")
>Signed-off-by: Ye Li <ye.li at nxp.com>
Reviewed-by: Peng Fan <peng.fan at nxp.com>
More information about the U-Boot
mailing list