Re: [PATCH] arm64: mvebu: handle non-zero base address for RAM

2022-07-21 Thread Stefan Roese
On 20.05.22 06:39, Chris Packham wrote: 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 determ

Re: [PATCH] arm64: mvebu: handle non-zero base address for RAM

2022-05-19 Thread Stefan Roese
On 20.05.22 06:39, Chris Packham wrote: 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 determ

[PATCH] arm64: mvebu: handle non-zero base address for RAM

2022-05-19 Thread Chris Packham
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: Chr