summaryrefslogtreecommitdiffstats
path: root/drivers/core/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-05-12 14:55:07 -0600
committerSimon Glass <sjg@chromium.org>2015-06-10 19:26:55 -0600
commita59abd10498fed8c2bb5718748ba27310aac4ba2 (patch)
tree95eb6a3b3e19b2803e952f7bd8da1bd4ac0cd7c0 /drivers/core/Makefile
parentb6bfb6ff9a2173d5e0e5506b95631aa49396c468 (diff)
downloadtalos-obmc-uboot-a59abd10498fed8c2bb5718748ba27310aac4ba2.tar.gz
talos-obmc-uboot-a59abd10498fed8c2bb5718748ba27310aac4ba2.zip
Remove SPL undefine of CONFIG_OF_CONTROL
Allow SPL to be built with this option so that we can support device tree control. Disable the simple bus for now in SPL. It may be needed later. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core/Makefile')
-rw-r--r--drivers/core/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/core/Makefile b/drivers/core/Makefile
index f14695b2d6..a3fec38503 100644
--- a/drivers/core/Makefile
+++ b/drivers/core/Makefile
@@ -5,5 +5,7 @@
#
obj-$(CONFIG_DM) += device.o lists.o root.o uclass.o util.o
+ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_OF_CONTROL) += simple-bus.o
+endif
obj-$(CONFIG_DM_DEVICE_REMOVE) += device-remove.o
OpenPOWER on IntegriCloud