Files
luban-lite/bsp/artinchip/drv/spinand/Kconfig.dev
2024-12-03 11:13:01 +08:00

116 lines
2.6 KiB
Plaintext

#-----------------------------
# spinand local parameter
#-----------------------------
menuconfig AIC_QSPI0_DEVICE_SPINAND
bool "SPI0 Devices: SPINAND"
depends on AIC_USING_QSPI0
select LPKG_USING_SPINAND
select AIC_SPINAND_DRV
default n
if AIC_QSPI0_DEVICE_SPINAND
config AIC_QSPI0_DEVICE_SPINAND_FREQ
int "SPINAND bus frequency(Hz)"
default 100000000
config AIC_QSPI0_DEVICE_SPINAND_CONT_READ
bool "Continuous Read Mode Enable"
select AIC_SPINAND_CONT_READ
default n
endif
menuconfig AIC_QSPI1_DEVICE_SPINAND
bool "SPI1 Devices: SPINAND"
depends on AIC_USING_QSPI1
select LPKG_USING_SPINAND
select AIC_SPINAND_DRV
default n
if AIC_QSPI1_DEVICE_SPINAND
config AIC_QSPI1_DEVICE_SPINAND_FREQ
int "SPINAND bus frequency(Hz)"
default 100000000
config AIC_QSPI1_DEVICE_SPINAND_CONT_READ
bool "Continuous Read Mode Enable"
select AIC_SPINAND_CONT_READ
default n
endif
menuconfig AIC_QSPI2_DEVICE_SPINAND
bool "SPI2 Devices: SPINAND"
depends on AIC_USING_QSPI2
select LPKG_USING_SPINAND
select AIC_SPINAND_DRV
default n
if AIC_QSPI2_DEVICE_SPINAND
config AIC_QSPI2_DEVICE_SPINAND_FREQ
int "SPINAND bus frequency(Hz)"
default 100000000
config AIC_QSPI2_DEVICE_SPINAND_CONT_READ
bool "Continuous Read Mode Enable"
select AIC_SPINAND_CONT_READ
default n
endif
menuconfig AIC_QSPI3_DEVICE_SPINAND
bool "SPI3 Devices: SPINAND"
depends on AIC_USING_QSPI3
select LPKG_USING_SPINAND
select AIC_SPINAND_DRV
default n
if AIC_QSPI3_DEVICE_SPINAND
config AIC_QSPI3_DEVICE_SPINAND_FREQ
int "SPINAND bus frequency(Hz)"
default 100000000
config AIC_QSPI3_DEVICE_SPINAND_CONT_READ
bool "Continuous Read Mode Enable"
select AIC_SPINAND_CONT_READ
default n
endif
menuconfig AIC_QSPI4_DEVICE_SPINAND
bool "SPI4 Devices: SPINAND"
depends on AIC_USING_QSPI4
select LPKG_USING_SPINAND
select AIC_SPINAND_DRV
default n
if AIC_QSPI4_DEVICE_SPINAND
config AIC_QSPI4_DEVICE_SPINAND_FREQ
int "SPINAND bus frequency(Hz)"
default 100000000
config AIC_QSPI4_DEVICE_SPINAND_CONT_READ
bool "Continuous Read Mode Enable"
select AIC_SPINAND_CONT_READ
default n
endif
menuconfig AIC_SPINAND_BLOCK_CACHE
bool "spinand block device cache"
depends on LPKG_USING_SPINAND
select AIC_SPINAND_DRV
default y
if AIC_SPINAND_BLOCK_CACHE
config AIC_SPINAND_BLOCK_CACHE_SIZE
int "spinand block device cache size"
default 512
config AIC_SPINAND_BLOCK_CACHE_NUM
int "spinand block device cache number"
default 4
endif