[U-Boot] [PATCH] dm: core: Allow simple-bus driver in SPL

Marek Vasut marex at denx.de
Mon Jul 27 22:31:55 CEST 2015


There's no reason why simple-bus driver can not be used in SPL,
in fact it is necessary to get SoCFPGA SPL probe the cadence
SPI driver. So drop the restriction.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Simon Glass <sjg at chromium.org>
---
 drivers/core/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/core/Makefile b/drivers/core/Makefile
index 5c2ead8..87b7c98 100644
--- a/drivers/core/Makefile
+++ b/drivers/core/Makefile
@@ -5,9 +5,7 @@
 #
 
 obj-y	+= 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
 obj-$(CONFIG_DM)	+= dump.o
 obj-$(CONFIG_OF_CONTROL)	+= regmap.o
-- 
2.1.4



More information about the U-Boot mailing list