drivers: flash: spi: Move to using select in Kconfig for SPI bus
Move to using 'select SPI' instead of 'depends on SPI'
(see commit df81fef
for more details)
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
4a572ac86f
commit
a6ff01cc3d
|
@ -21,14 +21,4 @@ config NUM_IRQS
|
|||
config GPIO
|
||||
default y if "$(dt_nodelabel_enabled,daplink_qspi_mux)"
|
||||
|
||||
if FLASH
|
||||
|
||||
config SPI
|
||||
default y
|
||||
|
||||
config SPI_NOR
|
||||
default y if SPI_XLNX_AXI_QUADSPI
|
||||
|
||||
endif # FLASH
|
||||
|
||||
endif # BOARD_ARTY_A7_ARM_DESIGNSTART_M1 || BOARD_ARTY_A7_ARM_DESIGNSTART_M3
|
||||
|
|
|
@ -20,16 +20,6 @@ config MCG_VDIV0
|
|||
config MCG_FCRDIV
|
||||
default 1
|
||||
|
||||
if FLASH
|
||||
|
||||
config SPI
|
||||
default y
|
||||
|
||||
config SPI_NOR
|
||||
default y
|
||||
|
||||
endif # FXOS8700
|
||||
|
||||
config FXOS8700_DRDY_INT1
|
||||
default y
|
||||
depends on FXOS8700_TRIGGER
|
||||
|
|
|
@ -13,12 +13,6 @@ config BT_CTLR
|
|||
|
||||
if FLASH
|
||||
|
||||
config SPI
|
||||
default y
|
||||
|
||||
config SPI_NOR
|
||||
default y
|
||||
|
||||
config SPI_NOR_FLASH_LAYOUT_PAGE_SIZE
|
||||
default 4096
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ menuconfig SPI_FLASH_AT45
|
|||
depends on DT_HAS_ATMEL_AT45_ENABLED
|
||||
select FLASH_HAS_DRIVER_ENABLED
|
||||
select FLASH_HAS_PAGE_LAYOUT
|
||||
depends on SPI
|
||||
select SPI
|
||||
help
|
||||
This driver can handle several instances of AT45 family chips that
|
||||
are enabled by specifying devicetree nodes with the "compatible"
|
||||
|
|
|
@ -8,7 +8,7 @@ menuconfig SPI_NOR
|
|||
select FLASH_HAS_DRIVER_ENABLED
|
||||
select FLASH_HAS_PAGE_LAYOUT
|
||||
select FLASH_JESD216
|
||||
depends on SPI
|
||||
select SPI
|
||||
|
||||
if SPI_NOR
|
||||
|
||||
|
|
Loading…
Reference in a new issue