u-boot/board/armltd/vexpress64
Andre Przywara c0fce92956 vexpress64: fvp: enable OF_CONTROL
The FVP base model is relying on a DT for Linux operation, so there is
no reason we would need to rely on hardcoded information for U-Boot.
Letting U-Boot use a DT will open up the usage of actual peripherals,
beyond the support for semihosting only.

Enable OF_CONTROL in the Kconfig, and use the latest dts files from
Linux. Depending on whether we use the boot-wrapper or TF-A, there is
already a DTB provided or not, respectively.

To cover the boot-wrapper, we add an arm64 Linux kernel header, which
allows the boot-wrapper to treat U-Boot like a Linux kernel. U-Boot will
find the pointer to the DTB in x0, and will use it.

Even though TF-A carries a DT, at the moment this is not made available
to non-secure world, so to not break users, we use the U-Boot provided
DTB copy in that case. For some reason TF-A puts some DT like structure
at the address x0 is pointing at, but that is very small and doesn't
carry any hardware information. Make the code to ignore those small DTBs.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2022-04-01 14:55:38 -04:00
..
Kconfig vexpress64: fvp: enable OF_CONTROL 2022-04-01 14:55:38 -04:00
lowlevel_init.S vexpress64: Enable OF_CONTROL and OF_BOARD for VExpress64 2022-01-04 22:48:48 -05:00
MAINTAINERS Revert "vexpress64: fvp dram: add DRAM configuration" 2019-08-31 09:27:19 -04:00
Makefile vexpress64: Enable OF_CONTROL and OF_BOARD for VExpress64 2022-01-04 22:48:48 -05:00
pcie.c pci: Add defines for normal and subtractive PCI bridges 2022-03-25 13:35:50 -04:00
pcie.h vexpress64: Juno: Add initialisation code for Juno R1 PCIe host bridge. 2015-10-19 17:05:46 -04:00
vexpress64.c vexpress64: fvp: enable OF_CONTROL 2022-04-01 14:55:38 -04:00