diff options
author | Andre Przywara <andre.przywara@arm.com> | 2021-04-12 03:04:51 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-20 14:31:12 +0300 |
commit | 109552d773e7aeb0f6417d8245fb0ecf01599ef3 (patch) | |
tree | 010a7fe67a4d74cd576341a854ff299d449c890a /arch/arm | |
parent | 84b2cd74f370dabb707e2611bf57714a66d08622 (diff) | |
download | u-boot-109552d773e7aeb0f6417d8245fb0ecf01599ef3.tar.xz |
arm: highbank: Enable OF_CONTROL
All Calxeda machines are actually a poster book example of device tree
usage: the DT is loaded from flash by the management processor into
DRAM, the memory node is populated with the detected DRAM size and this
DT is then handed over to the kernel.
So it's a shame that U-Boot didn't participate in this chain, but
fortunately this is easy to fix:
Define CONFIG_OF_CONTROL and CONFIG_OF_BOARD, and provide a trivial
function to tell U-Boot about the (fixed) location of the DTB in DRAM.
Then enable DM_SERIAL, to let the PL011 driver pick up the UART platform
data from the DT. Also define AHCI, to bring this driver into the driver
model world as well.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Kconfig | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 15b845449d..358642669c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -711,7 +711,14 @@ config ARCH_S5PC1XX config ARCH_HIGHBANK bool "Calxeda Highbank" select CPU_V7A - select PL011_SERIAL + select PL01X_SERIAL + select DM + select DM_SERIAL + select OF_CONTROL + select OF_BOARD + select CLK + select CLK_CCF + select AHCI config ARCH_INTEGRATOR bool "ARM Ltd. Integrator family" |