diff mbox series

[v3,21/81] lib: Add a Kconfig for SPL_GENERATE_ACPI_TABLE

Message ID 20230206190550.1692420-22-sjg@chromium.org
State RFC
Delegated to: Tom Rini
Headers show
Series RFC: Migrate to split config | expand

Commit Message

Simon Glass Feb. 6, 2023, 7:04 p.m. UTC
This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v3:
- Move SPL_GENERATE_ACPI_TABLE patch to this series

 lib/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/lib/Kconfig b/lib/Kconfig
index a6c269a8535..47edd0719aa 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -287,6 +287,10 @@  config GENERATE_ACPI_TABLE
 	  by the operating system. It defines platform-independent interfaces
 	  for configuration and power management monitoring.
 
+config SPL_GENERATE_ACPI_TABLE
+	def_bool n  # Generate an ACPI table (SPL)
+	depends on SPL && SUPPORT_ACPI
+
 config SPL_TINY_MEMSET
 	bool "Use a very small memset() in SPL"
 	depends on SPL