]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/arm: Implement acpi_fill_madt
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Wed, 23 Oct 2024 13:20:06 +0000 (15:20 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 27 Oct 2024 23:24:13 +0000 (17:24 -0600)
commit142f92bf0465b0fc9fb59a055c1f25f18d3acaf3
treecf8704120c1eb17093b591c33dfbe16f23b3cbf5
parentf116feadea7be9afe412c25779dfcf241c121715
drivers/arm: Implement acpi_fill_madt

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>
arch/arm/lib/gic-v3-its.c
drivers/cpu/Kconfig
drivers/cpu/armv8_cpu.c
drivers/cpu/armv8_cpu.h