u-boot/arch/arm/mach-mvebu
Chris Packham 8fd3cf2940 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>
2022-07-21 07:46:10 +02:00
..
armada8k arm64: mvebu: extend the mmio region 2021-05-16 06:48:45 +02:00
armada3700 arm: mvebu: a37xx: Add support for writing Security OTP values 2022-04-21 12:31:36 +02:00
include/mach Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h 2022-06-06 12:09:19 -04:00
serdes db-mv784mp-gp: Rename CONFIG_DB_784MP_GP to CONFIG_TARGET_DB_MV784MP_GP 2022-04-01 10:28:47 -04:00
.gitignore mvebu: select boot device at SoC level 2018-08-06 14:07:23 +02:00
arm64-common.c arm64: mvebu: handle non-zero base address for RAM 2022-07-21 07:46:10 +02:00
cpu.c arm: mvebu: Move internal registers in arch_very_early_init() function 2022-05-16 11:31:34 +02:00
dram.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
efuse.c arm: mvebu: Add support for reading LD0 and LD1 eFuse 2022-04-21 12:31:36 +02:00
gpio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig arm: mvebu: Move internal registers in arch_very_early_init() function 2022-05-16 11:31:34 +02:00
kwbimage.cfg.in arm: mvebu: Enable BootROM output on A38x 2022-01-14 11:39:16 +01:00
lowlevel.S arm: mvebu: Move internal registers in arch_very_early_init() function 2022-05-16 11:31:34 +02:00
lowlevel_spl.S mvebu: Use CONFIG_SPL_STACK + 4 directly for bootparam location 2022-06-06 12:09:12 -04:00
Makefile arm: mvebu: Use MVEBU_SPL_BOOT_DEVICE instead of SPL_BOOT_DEVICE 2022-06-06 12:09:29 -04:00
mbus.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
spl.c mvebu: Use CONFIG_SPL_STACK + 4 directly for bootparam location 2022-06-06 12:09:12 -04:00
system-controller.c arm: mvebu: Implement simple mvebu-reset driver for enabling/disabling PCIe ports 2022-01-14 07:47:57 +01:00
timer.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00