[PATCH 03/17] acpi: Add a Kconfig for SPL

Simon Glass sjg at chromium.org
Fri Sep 17 18:17:26 CEST 2021


At present we rely on this not existing to avoid building ACPI for SPL.
But with the new split configs this does not work. Add a separate Kconfig
instead.

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

 drivers/core/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index 9ae188c1dfc..4c2aeb8bce5 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -332,6 +332,11 @@ config ACPIGEN
 	  things like generating device-specific tables and returning the ACPI
 	  name of a device.
 
+config SPL_ACPIGEN
+	def_bool n
+	help
+	  Dummy option to ensure that ACPI tables are not generated in SPL.
+
 config BOUNCE_BUFFER
 	bool "Include bounce buffer API"
 	help
-- 
2.33.0.309.g3052b89438-goog



More information about the U-Boot mailing list