diff options
author | Pali Rohár <pali@kernel.org> | 2022-09-09 17:32:42 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-23 15:13:18 -0400 |
commit | cf4eba4eb66dbf6102200af6ba6f1ee05fabfe3d (patch) | |
tree | 922804ec810926d69b6aae24dc02b195c4278dee /drivers/ddr/fsl/arm_ddr_gen3.c | |
parent | d92aee57eca089e6732a5c3c79c3a319819e1bfd (diff) |
ddr: fsl: Fix checking for maximal mappable memory
Check needs to be done against CONFIG_MAX_MEM_MAPPED macro and not fixed
size 4GB (as CONFIG_MAX_MEM_MAPPED can be lower and for example for e500
cores it is just 2GB). Also fix printf re-align, which should be applied
only for non-SPL builds, during init_dram() call.
Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'drivers/ddr/fsl/arm_ddr_gen3.c')
0 files changed, 0 insertions, 0 deletions