summaryrefslogtreecommitdiff
path: root/drivers/of/.kunitconfig
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2024-10-16 14:20:15 -0700
committerRob Herring (Arm) <robh@kernel.org>2024-11-15 14:03:28 -0600
commit332857fdac73f1c7b74ad962c07bb39e4c0c145a (patch)
tree538f8da404a95bbd9b36c7f65a1ee6285ba0abaf /drivers/of/.kunitconfig
parent6e0391e48cf9fb8b1b5e27c0cbbaf2e4639f2c33 (diff)
of: Allow overlay kunit tests to run CONFIG_OF_OVERLAY=n
Some configurations want to enable CONFIG_KUNIT without enabling CONFIG_OF_OVERLAY. The kunit overlay code already skips if CONFIG_OF_OVERLAY isn't enabled, so this select here isn't really doing anything besides making it easier to run the tests without them skipping. Remove the select and move the config setting to the drivers/of/.kunitconfig file so that the overlay tests can be run with or without CONFIG_OF_OVERLAY set to test either behavior. Fixes: 5c9dd72d8385 ("of: Add a KUnit test for overlays and test managed APIs") Signed-off-by: Stephen Boyd <sboyd@kernel.org> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20241016212016.887552-1-sboyd@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'drivers/of/.kunitconfig')
-rw-r--r--drivers/of/.kunitconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/.kunitconfig b/drivers/of/.kunitconfig
index 4c53d2c7a275..7d570cb922a1 100644
--- a/drivers/of/.kunitconfig
+++ b/drivers/of/.kunitconfig
@@ -1,4 +1,5 @@
CONFIG_KUNIT=y
CONFIG_OF=y
CONFIG_OF_KUNIT_TEST=y
+CONFIG_OF_OVERLAY=y
CONFIG_OF_OVERLAY_KUNIT_TEST=y