spi: fsl_qspi: Build driver only if DM_SPI is available
authorFrieder Schrempf <frieder.schrempf@kontron.de>
Mon, 7 Jun 2021 12:36:42 +0000 (14:36 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Jul 2021 14:53:34 +0000 (16:53 +0200)
commit6b86554865ad271a71e93c125594335721b615c9
tree265c526d53fd8970526011958f510b872f79a1f9
parenta5dc91febd9d471f1bfe2716500e844151561f07
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>
drivers/spi/Makefile