Attention is currently required from: Cliff Huang, Lance Zhao, Tim Wawrzynczak.
Naresh Solanki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/79973?usp=email )
Change subject: acpi_gic: Add helper for platform gicc ......................................................................
acpi_gic: Add helper for platform gicc
Change-Id: Ibd4c52a5482707fae8aa1b8b21fdc6bb5f4b45c2 Signed-off-by: Naresh Solanki naresh.solanki@9elements.com --- M src/acpi/acpi_gic.c M src/include/acpi/acpi.h 2 files changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/79973/1
diff --git a/src/acpi/acpi_gic.c b/src/acpi/acpi_gic.c index 5898327..d4be502 100644 --- a/src/acpi/acpi_gic.c +++ b/src/acpi/acpi_gic.c @@ -3,6 +3,10 @@ #include <acpi/acpi.h> #include <device/device.h>
+__weak void platform_gicc(acpi_madt_gicc_t *gicc) +{ +} + static int acpi_create_madt_one_gicc_v3(acpi_madt_gicc_t *gicc, u32 acpi_uid, u32 pi_gsiv, uint32_t vgic_mi, uint64_t mpidr) { @@ -30,6 +34,8 @@ */ gicc->mpidr = mpidr & 0xff00fffffful;
+ platform_gicc(gicc); + return gicc->length; }
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index d5f4008..6c1e82c 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -1769,6 +1769,7 @@
unsigned long acpi_create_madt_lapic_nmis(unsigned long current);
+void platform_gicc(acpi_madt_gicc_t *gicc); uintptr_t platform_get_gicd_base(void); uintptr_t platform_get_gicr_base(void); int platform_get_gic_its(uintptr_t **base);