diff options
author | Elena Popa <elena.popa@nxp.com> | 2023-08-08 14:58:26 +0300 |
---|---|---|
committer | Stefano Babic <stefano.babic@swupdate.org> | 2023-09-04 10:21:20 +0200 |
commit | 07908bf5e547ed3a78ab4fb579c8cd623f8af6e5 (patch) | |
tree | 7cb6fa47d95cddf638df7ebd6f7ebde3e93ed10f /drivers/i2c/rk_i2c.c | |
parent | f58b0c853482e26682158c3b0422cd33dfeb434a (diff) |
arm: imx: imx8m: imx9: Fix DRAM size calculation due to rom_pointer
If dram_init_banksize() is called from SPL, the rom_pointer, at that
point, is not correctly initialized. This causes wrong calculation of
DRAM start and size in dram_init_banksize(). The issue became apparent
only in Falcon Mode. Added an extra condition to prevent using
rom_pointer in SPL.
Signed-off-by: Elena Popa <elena.popa@nxp.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'drivers/i2c/rk_i2c.c')
0 files changed, 0 insertions, 0 deletions