diff options
| author | Ye Li <[email protected]> | 2026-06-18 09:17:47 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-06-26 16:50:55 -0300 |
| commit | 5402b5980ee882bcee6cdaca7580e5b36ef99f42 (patch) | |
| tree | e3abd09c896ba02d629a12ce084859ee1f27f18a /include | |
| parent | 6902fb4c17faa375003124c451c2550deab5463d (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
