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 <s...@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

Reply via email to