aboutsummaryrefslogtreecommitdiff
path: root/test/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-03-27 14:26:19 -0600
committerTom Rini <trini@konsulko.com>2022-04-18 17:53:56 -0400
commit092d5c2a83b730844aeaa5ac300ddc7f13a75f49 (patch)
treea1eb7b69290ad103c95dc2688dfd227a1eaa45d3 /test/dm
parent0c6be933ffeb991c1b9b70bce9cf9e9cdb92c9ed (diff)
downloadu-boot-092d5c2a83b730844aeaa5ac300ddc7f13a75f49.zip
u-boot-092d5c2a83b730844aeaa5ac300ddc7f13a75f49.tar.gz
u-boot-092d5c2a83b730844aeaa5ac300ddc7f13a75f49.tar.bz2
dm: core: Allow devres to be disabled in SPL
At present if devres is enabled in U-Boot proper it is enabled in SPL. We don't normally want it there, so disable it. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Angus Ainslie <angus@akkea.ca>
Diffstat (limited to 'test/dm')
-rw-r--r--test/dm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile
index d46552f..9a1a904 100644
--- a/test/dm/Makefile
+++ b/test/dm/Makefile
@@ -32,7 +32,7 @@ obj-$(CONFIG_CLK) += clk.o clk_ccf.o
obj-$(CONFIG_CPU) += cpu.o
obj-$(CONFIG_CROS_EC) += cros_ec.o
obj-$(CONFIG_PWM_CROS_EC) += cros_ec_pwm.o
-obj-$(CONFIG_DEVRES) += devres.o
+obj-$(CONFIG_$(SPL_TPL_)DEVRES) += devres.o
obj-$(CONFIG_DMA) += dma.o
obj-$(CONFIG_VIDEO_MIPI_DSI) += dsi_host.o
obj-$(CONFIG_DM_DSA) += dsa.o