[PATCH 06/17] power: Add SPL Kconfig for sandbox pmc emulator
Simon Glass
sjg at chromium.org
Fri Sep 17 18:17:29 CEST 2021
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 <sjg at 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
More information about the U-Boot
mailing list