commit | c25eeadbd20c819de11dcf158be99af3fca7912a | [log] [tgz] |
---|---|---|
author | Chris Packham <judge.packham@gmail.com> | Fri May 20 16:39:22 2022 +1200 |
committer | Stefan Roese <sr@denx.de> | Thu Jul 21 07:46:10 2022 +0200 |
tree | 68434ba28e6e6472779d0cdb4f0f57f9948198b5 | |
parent | 50f32034826d3e745ae01855c29fee343edf671c [diff] |
arm64: mvebu: handle non-zero base address for RAM board_get_usable_ram_top() conflated the RAM size with the top address of RAM. On systems where RAM starts at address 0 these numbers are the same so it went unnoticed. Update board_get_usable_ram_top() to take CONFIG_SYS_SDRAM_BASE into account when determining the top address. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>