summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe Li <[email protected]>2026-06-18 09:17:47 +0800
committerFabio Estevam <[email protected]>2026-06-26 16:50:55 -0300
commit5402b5980ee882bcee6cdaca7580e5b36ef99f42 (patch)
treee3abd09c896ba02d629a12ce084859ee1f27f18a /include
parent6902fb4c17faa375003124c451c2550deab5463d (diff)
imx9: scmi: Fix SPL trampoline buffer for 1GB DDR
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 <[email protected]> Reviewed-by: Peng Fan <[email protected]> Tested-by: Emanuele Ghidoli <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions