u-boot/arch
Andre Przywara 1238d0143a arm: highbank: Do DRAM init from DT
So far U-Boot was hard coding a (surely sufficient) memory size of 512
MB, even though all machines out there have at least 4GB of DRAM.
Since U-Boot uses its memory knowledge to populate the EFI memory map,
we are missing out here, at best losing everything beyond 4GB on Midway
boxes (which typically come with 8GB of DRAM).

Since the management processor populated the DT memory node already with
the detected DRAM size and configuration, we use that to populate
U-Boot's memory bank information, which is the base for the UEFI memory
map.
This finally allows us to get rid of the NR_DRAM_BANKS=0 hack, that we
had in place to avoid U-Boot messing up the DT memory node before
loading the kernel.

Also, to cover the whole of memory, we need to enable PHYS_64BIT.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2021-04-20 07:31:12 -04:00
..
arc arc: emsdp/iotdk: Use standard compatible string for USB no-op PHY 2021-04-18 04:29:35 +02:00
arm arm: highbank: Do DRAM init from DT 2021-04-20 07:31:12 -04:00
m68k Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
microblaze common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mips common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
nds32 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
nios2 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
powerpc powerpc: dts: t1042d4rdb: add FMan v3 nodes 2021-04-15 14:27:29 +05:30
riscv riscv: dts: mpfs-icicle-kit: Drop 'clock-frequency' in the uart nodes 2021-04-08 15:37:30 +08:00
sandbox Merge tag 'ti-v2021.07-rc1' of https://source.denx.de/u-boot/custodians/u-boot-ti 2021-04-18 08:46:39 -04:00
sh reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
x86 x86: mtrr: Fix function descriptions 2021-04-15 10:43:17 +08:00
xtensa common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
.gitignore
Kconfig sandbox: enable IRQ using select for sandbox architecture 2021-04-20 07:31:35 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00