zephyr/drivers/flash/Kconfig.nor
Peter A. Bigot 44758977f8 drivers: flash: spi-nor: update towards device-tree support
Use the jedec,spi-nor bindings to configure as much of the device as can
be expressed by device tree.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-02-01 04:21:40 -06:00

43 lines
787 B
Plaintext

#
# Copyright (c) 2018 Savoir-Faire Linux.
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig SPI_NOR
bool
prompt "SPI NOR Flash"
select FLASH_HAS_DRIVER_ENABLED
depends on SPI && FLASH
if SPI_NOR
config SPI_NOR_INIT_PRIORITY
int
default 80
help
Device driver initialization priority.
Device is connected to SPI bus, it has to
be initialized after SPI driver.
config SPI_NOR_CS_WAIT_DELAY
int "Delay time in us"
default 0
help
This is the wait delay (in us) to allow for CS switching to take effect
config SPI_NOR_PAGE_SIZE
int "Page size of SPI flash"
default 0
help
This option specifies page size of SPI flash
config SPI_NOR_SECTOR_SIZE
int "Sector size of SPI flash"
default 0
help
This option specifies sector size of SPI flash
endif # SPI_NOR