summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2023-04-24 14:18:05 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-05-02 11:34:00 +0200
commitbf680962fb8622fb11455eec493a87c8a190e5f4 (patch)
tree300c859699ec5b0721b9394657e5a52e6b2e1bd1 /drivers
parentddd65721ff2ba691facdbd651b341a97edb3bc71 (diff)
downloadbarebox-bf680962fb8622fb11455eec493a87c8a190e5f4.tar.gz
barebox-bf680962fb8622fb11455eec493a87c8a190e5f4.tar.xz
sandbox: hostfile: add feature controller support
Keeping the tradition of making the sandbox more complex than it needs to in order to exercise more parts of barebox, let's allow hostfiles to be feature controllers: This allows specifying optional hostfiles in the DT: If the hostfile is unavailable, the nodes pointing at the hostfile can be gated by it, so they behave as if they were disabled. This is useful for the stickypage, which results in a number of ugly errors whenever it's unavailable. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Link: https://lore.barebox.org/20230424121805.150434-7-ahmad@a3f.at Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index 3788231b6e..612a84be33 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -4,6 +4,6 @@ config PM_GENERIC_DOMAINS
bool
config FEATURE_CONTROLLER
- bool "Feature controller support" if COMPILE_TEST
+ bool "Feature controller support" if COMPILE_TEST || SANDBOX
source "drivers/base/regmap/Kconfig"