The FIU/UMA module in the NPCX chip provides an dedicated SPI interface to access the SPI flash. This commit adds the driver support for it. With this commit, the application can call the flash APIs (via spi_nor.c) to access the internal flash of NPCX EC chips. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> Change-Id: I32bbf09f6e014b728ff8e4692e48151ae759e188
90 lines
1.7 KiB
Plaintext
90 lines
1.7 KiB
Plaintext
# SPI driver configuration options
|
|
|
|
# Copyright (c) 2015-2016 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
# SPI Drivers
|
|
#
|
|
menuconfig SPI
|
|
bool "SPI hardware bus support"
|
|
help
|
|
Enable support for the SPI hardware bus.
|
|
|
|
if SPI
|
|
|
|
config SPI_ASYNC
|
|
bool "Enable Asynchronous call support"
|
|
select POLL
|
|
help
|
|
This option enables the asynchronous API calls.
|
|
|
|
config SPI_SLAVE
|
|
bool "Enable Slave support [EXPERIMENTAL]"
|
|
select EXPERIMENTAL
|
|
help
|
|
Enables Driver SPI slave operations. Slave support depends
|
|
on the driver and the hardware it runs on.
|
|
|
|
config SPI_INIT_PRIORITY
|
|
int "Init priority"
|
|
default 70
|
|
help
|
|
Device driver initialization priority.
|
|
|
|
config SPI_COMPLETION_TIMEOUT_TOLERANCE
|
|
int "Completion timeout tolerance (ms)"
|
|
default 200
|
|
help
|
|
The tolerance value in ms for the SPI completion timeout logic.
|
|
|
|
module = SPI
|
|
module-str = spi
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
source "drivers/spi/Kconfig.b91"
|
|
|
|
source "drivers/spi/Kconfig.stm32"
|
|
|
|
source "drivers/spi/Kconfig.dw"
|
|
|
|
source "drivers/spi/Kconfig.mcux_dspi"
|
|
|
|
source "drivers/spi/Kconfig.mcux_flexcomm"
|
|
|
|
source "drivers/spi/Kconfig.mcux_lpspi"
|
|
|
|
source "drivers/spi/Kconfig.rv32m1_lpspi"
|
|
|
|
source "drivers/spi/Kconfig.sam"
|
|
|
|
source "drivers/spi/Kconfig.sam0"
|
|
|
|
source "drivers/spi/Kconfig.sifive"
|
|
|
|
source "drivers/spi/Kconfig.spi_emul"
|
|
|
|
source "drivers/spi/Kconfig.nrfx"
|
|
|
|
source "drivers/spi/Kconfig.cc13xx_cc26xx"
|
|
|
|
source "drivers/spi/Kconfig.litex"
|
|
|
|
source "drivers/spi/Kconfig.oc_simple"
|
|
|
|
source "drivers/spi/Kconfig.xec_qmspi"
|
|
|
|
source "drivers/spi/Kconfig.gecko"
|
|
|
|
source "drivers/spi/Kconfig.xlnx"
|
|
|
|
source "drivers/spi/Kconfig.esp32"
|
|
|
|
source "drivers/spi/Kconfig.test"
|
|
|
|
source "drivers/spi/Kconfig.psoc6"
|
|
|
|
source "drivers/spi/Kconfig.npcx_fiu"
|
|
|
|
endif # SPI
|