@@ -1515,6 +1515,7 @@ config ARCH_UNIPHIER
select DM_MMC
select DM_RESET
select DM_SERIAL
+ select DM_SPI
select DM_USB
select OF_BOARD_SETUP
select OF_CONTROL
@@ -23,6 +23,7 @@ CONFIG_CMD_GPIO=y
CONFIG_CMD_GPT=y
CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
+CONFIG_CMD_SPI=y
CONFIG_CMD_USB=y
CONFIG_CMD_TFTPPUT=y
CONFIG_CMD_CACHE=y
@@ -52,6 +53,8 @@ CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
CONFIG_SPL_NAND_DENALI=y
CONFIG_DM_ETH=y
CONFIG_SNI_AVE=y
+CONFIG_SPI=y
+CONFIG_UNIPHIER_SPI=y
CONFIG_USB=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_DWC3=y
@@ -21,6 +21,7 @@ CONFIG_CMD_GPIO=y
CONFIG_CMD_GPT=y
CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
+CONFIG_CMD_SPI=y
CONFIG_CMD_USB=y
CONFIG_CMD_TFTPPUT=y
CONFIG_CMD_CACHE=y
@@ -53,6 +54,8 @@ CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
CONFIG_DM_ETH=y
CONFIG_SNI_AVE=y
CONFIG_PINCONF=y
+CONFIG_SPI=y
+CONFIG_UNIPHIER_SPI=y
CONFIG_SYSRESET=y
CONFIG_SYSRESET_PSCI=y
CONFIG_USB=y
Compile drivers/spi/uniphier_spi.c and cmd/spi.c Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com> --- arch/arm/Kconfig | 1 + configs/uniphier_v7_defconfig | 3 +++ configs/uniphier_v8_defconfig | 3 +++ 3 files changed, 7 insertions(+)