From caf299ca23fff5f2f07a20fc082ed6d282fd19ee Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 1 Nov 2023 10:33:14 +0200 Subject: [PATCH] boards: x86: Indicate ACPI support where applicable There are several x86 boards that support ACPI, so indicate it in their yaml files. Signed-off-by: Johan Hedberg --- boards/x86/intel_adl/intel_adl_crb.yaml | 1 + boards/x86/intel_adl/intel_adl_rvp.yaml | 1 + boards/x86/intel_ehl/intel_ehl_crb.yaml | 1 + boards/x86/intel_rpl/intel_rpl_s_crb.yaml | 1 + boards/x86/qemu_x86/qemu_x86_64.yaml | 1 + boards/x86/up_squared/up_squared.yaml | 1 + tests/lib/acpi/src/main.c | 4 ++-- 7 files changed, 8 insertions(+), 2 deletions(-) diff --git a/boards/x86/intel_adl/intel_adl_crb.yaml b/boards/x86/intel_adl/intel_adl_crb.yaml index a49e0864f9..b393059d42 100644 --- a/boards/x86/intel_adl/intel_adl_crb.yaml +++ b/boards/x86/intel_adl/intel_adl_crb.yaml @@ -6,6 +6,7 @@ toolchain: - zephyr ram: 2048 supported: + - acpi - watchdog - pwm - gpio diff --git a/boards/x86/intel_adl/intel_adl_rvp.yaml b/boards/x86/intel_adl/intel_adl_rvp.yaml index ce009bfe33..8a09b3fe16 100644 --- a/boards/x86/intel_adl/intel_adl_rvp.yaml +++ b/boards/x86/intel_adl/intel_adl_rvp.yaml @@ -6,6 +6,7 @@ toolchain: - zephyr ram: 2048 supported: + - acpi - smp - watchdog testing: diff --git a/boards/x86/intel_ehl/intel_ehl_crb.yaml b/boards/x86/intel_ehl/intel_ehl_crb.yaml index 4e9d07e9ca..04cf5e2702 100644 --- a/boards/x86/intel_ehl/intel_ehl_crb.yaml +++ b/boards/x86/intel_ehl/intel_ehl_crb.yaml @@ -7,6 +7,7 @@ toolchain: - llvm ram: 2048 supported: + - acpi - gpio - smbus - smp diff --git a/boards/x86/intel_rpl/intel_rpl_s_crb.yaml b/boards/x86/intel_rpl/intel_rpl_s_crb.yaml index ca0be3de69..ef51e444e5 100644 --- a/boards/x86/intel_rpl/intel_rpl_s_crb.yaml +++ b/boards/x86/intel_rpl/intel_rpl_s_crb.yaml @@ -6,6 +6,7 @@ toolchain: - zephyr ram: 2048 supported: + - acpi - smp - smbus - watchdog diff --git a/boards/x86/qemu_x86/qemu_x86_64.yaml b/boards/x86/qemu_x86/qemu_x86_64.yaml index afa50057b6..b5c77de4c0 100644 --- a/boards/x86/qemu_x86/qemu_x86_64.yaml +++ b/boards/x86/qemu_x86/qemu_x86_64.yaml @@ -7,6 +7,7 @@ toolchain: - xtools simulation: qemu supported: + - acpi - can - smp - smbus diff --git a/boards/x86/up_squared/up_squared.yaml b/boards/x86/up_squared/up_squared.yaml index 2b27e7a7b2..79e4d5e7e9 100644 --- a/boards/x86/up_squared/up_squared.yaml +++ b/boards/x86/up_squared/up_squared.yaml @@ -6,6 +6,7 @@ toolchain: - zephyr ram: 256 supported: + - acpi - smp testing: ignore_tags: diff --git a/tests/lib/acpi/src/main.c b/tests/lib/acpi/src/main.c index c7f09c1c07..db64ceea6e 100644 --- a/tests/lib/acpi/src/main.c +++ b/tests/lib/acpi/src/main.c @@ -8,7 +8,7 @@ #include #include -ZTEST(acpi, mcfg_table) +ZTEST(acpi, test_mcfg_table) { struct acpi_mcfg *mcfg; @@ -17,7 +17,7 @@ ZTEST(acpi, mcfg_table) zassert_not_null(mcfg, "Failed to get MCFG table"); } -ZTEST(acpi, irq_routing_table) +ZTEST(acpi, test_irq_routing_table) { static ACPI_PCI_ROUTING_TABLE irq_prt_table[CONFIG_ACPI_MAX_PRT_ENTRY]; int status;