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>
21 lines
310 B
Makefile
21 lines
310 B
Makefile
# Makefile version of include/config_uncmd_spl.h
|
|
#
|
|
# 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=
|
|
CONFIG_DM_GPIO=
|
|
CONIFG_DM_I2C=
|
|
CONFIG_DM_SPI=
|
|
CONFIG_DM_SPI_FLASH=
|
|
endif
|
|
|
|
CONFIG_DM_DEVICE_REMOVE=
|
|
|
|
endif
|