mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
spi: fsl_qspi: Build driver only if DM_SPI is available
The driver depends on DM_SPI and if it's not available (e. g. in SPL), then we should not try to build it as this will fail. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
This commit is contained in:
parent
a5dc91febd
commit
6b86554865
1 changed files with 1 additions and 1 deletions
|
@ -11,6 +11,7 @@ obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
|
||||||
obj-$(CONFIG_SOFT_SPI) += soft_spi.o
|
obj-$(CONFIG_SOFT_SPI) += soft_spi.o
|
||||||
obj-$(CONFIG_SPI_MEM) += spi-mem.o
|
obj-$(CONFIG_SPI_MEM) += spi-mem.o
|
||||||
obj-$(CONFIG_TI_QSPI) += ti_qspi.o
|
obj-$(CONFIG_TI_QSPI) += ti_qspi.o
|
||||||
|
obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
|
||||||
else
|
else
|
||||||
obj-y += spi.o
|
obj-y += spi.o
|
||||||
obj-$(CONFIG_SPI_MEM) += spi-mem-nodm.o
|
obj-$(CONFIG_SPI_MEM) += spi-mem-nodm.o
|
||||||
|
@ -30,7 +31,6 @@ obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
|
||||||
obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
|
obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
|
||||||
obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
|
obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
|
||||||
obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
|
obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
|
||||||
obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
|
|
||||||
obj-$(CONFIG_SYNQUACER_SPI) += spi-synquacer.o
|
obj-$(CONFIG_SYNQUACER_SPI) += spi-synquacer.o
|
||||||
obj-$(CONFIG_ICH_SPI) += ich.o
|
obj-$(CONFIG_ICH_SPI) += ich.o
|
||||||
obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
|
obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
|
||||||
|
|
Loading…
Reference in a new issue