At present we rely on this not existing to avoid building the emulator 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/power/acpi_pmc/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/power/acpi_pmc/Kconfig b/drivers/power/acpi_pmc/Kconfig
index fcd50e36cad..d3f363b0dcf 100644
--- a/drivers/power/acpi_pmc/Kconfig
+++ b/drivers/power/acpi_pmc/Kconfig
@@ -32,3 +32,8 @@ config ACPI_PMC_SANDBOX
          the uclass logic can be tested. You can use the 'pmc' command to
          access information from the driver. It uses I/O access to read
          from the PMC.
+
+config SPL_ACPI_PMC_SANDBOX
+       def_bool n
+       help
+         Dummy option to ensure that this feature is not enabled in SPL.
-- 
2.33.0.309.g3052b89438-goog

Reply via email to