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>
This commit is contained in:
parent
b6bfb6ff9a
commit
a59abd1049
|
@ -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
|
||||
|
|
|
@ -20,7 +20,9 @@
|
|||
#undef CONFIG_CMD_SNTP
|
||||
#undef CONFIG_CMD_TFTPPUT
|
||||
#undef CONFIG_CMD_TFTPSRV
|
||||
#ifdef CONFIG_SPL_DISABLE_OF_CONTROL
|
||||
#undef CONFIG_OF_CONTROL
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SPL_DM
|
||||
#undef CONFIG_DM_SERIAL
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
# TODO: Invent a better way
|
||||
|
||||
ifdef CONFIG_SPL_BUILD
|
||||
ifdef CONFIG_SPL_DISABLE_OF_CONTROL
|
||||
CONFIG_OF_CONTROL=
|
||||
endif
|
||||
|
||||
ifndef CONFIG_SPL_DM
|
||||
CONFIG_DM_SERIAL=
|
||||
|
|
Loading…
Reference in New Issue