mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-14 13:57:00 +00:00
Fill the MADT table in the GIC driver and armv8 CPU driver to drop SoC specific code. While the GIC only needs devicetree data, the CPU driver needs additional information stored in the cpu_plat struct. While on it update the only board making use of the existing drivers and writing ACPI MADT in mainboard code. TEST: Booted on QEMU sbsa-ref using GICV3 driver model generated MADT. Booted on QEMU raspb4 using GICV2 driver model generated MADT. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Simon Glass <sjg@chromium.org>
48 lines
1.3 KiB
Text
48 lines
1.3 KiB
Text
config CPU
|
|
bool "Enable CPU drivers using Driver Model"
|
|
help
|
|
This allows drivers to be provided for CPUs and their type to be
|
|
specified in the board's device tree. For boards which support
|
|
multiple CPUs, then normally have to be set up in U-Boot so that
|
|
they can work correctly in the OS. This provides a framework for
|
|
finding out information about available CPUs and making changes.
|
|
|
|
config CPU_IMX
|
|
bool "Enable i.MX CPU driver"
|
|
depends on CPU && ARM64
|
|
help
|
|
Support CPU cores for SoCs of the i.MX series.
|
|
|
|
config CPU_MPC83XX
|
|
bool "Enable MPC83xx CPU driver"
|
|
depends on CPU && MPC83xx
|
|
select CLK_MPC83XX
|
|
help
|
|
Support CPU cores for SoCs of the MPC83xx series.
|
|
|
|
config CPU_RISCV
|
|
bool "Enable RISC-V CPU driver"
|
|
depends on CPU && RISCV
|
|
help
|
|
Support CPU cores for RISC-V architecture.
|
|
|
|
config CPU_ARMV8
|
|
bool "Enable generic ARMv8 CPU driver"
|
|
depends on CPU && ARM64
|
|
select IRQ
|
|
help
|
|
Support CPU cores for armv8 architecture.
|
|
|
|
config CPU_MICROBLAZE
|
|
bool "Enable Microblaze CPU driver"
|
|
depends on CPU && MICROBLAZE
|
|
select DM_EVENT
|
|
select XILINX_MICROBLAZE0_PVR
|
|
help
|
|
Support CPU cores for Microblaze architecture.
|
|
|
|
config CPU_XTENSA
|
|
bool "Enable Xtensa CPU driver"
|
|
depends on CPU && XTENSA
|
|
help
|
|
Support CPU cores for Xtensa architecture.
|