summaryrefslogtreecommitdiff
path: root/drivers/fpga/lattice.c
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-05-20 16:39:22 +1200
committerStefan Roese <sr@denx.de>2022-07-21 07:46:10 +0200
commit8fd3cf2940464765bc10ae341b525fe0eae8fa87 (patch)
tree68434ba28e6e6472779d0cdb4f0f57f9948198b5 /drivers/fpga/lattice.c
parente33879a45ed3c3c0f9f19f6c658ae4ac6683e42d (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>
Diffstat (limited to 'drivers/fpga/lattice.c')
0 files changed, 0 insertions, 0 deletions