sdk-hwV1.3/lichee/linux-4.9/drivers/mtd/awnand/Kconfig

46 lines
1.2 KiB
Plaintext

config AW_MTD_SPINAND
tristate "Allwinner MTD SPINAND Device Support"
depends on MTD
depends on ARCH_SUNXI
select AW_SPINAND_PHYSICAL_LAYER
select AW_SPINAND_SECURE_STORAGE
select MTD_UBI
help
Enables support for SPINAND Flash chips on Allwinner SoCs.
It's different with Allwinner's privately nand driver that it use
ubi system rather than Allwinner's NFTL.
config AW_MTD_RAWNAND
tristate "Allwinner MTD RAWNAND Device Support"
depends on MTD
depends on ARCH_SUNXI
depends on !SUNXI_NAND
select AW_RAWNAND_SECURE_STORAGE
select MTD_UBI
help
Enables support for RAWNAND Flash chips on Allwinner SoCs.
It's different with Allwinner's privately nand driver that it use
ubi system rather than Allwinner's NFTL.
config RAW_KERNEL
bool "Kernel images are stored on physical partitions"
help
Enables support kernel images are stored on physical partitions.
config KERNEL_SIZE_BYTE
int "Kernel image size(Byte)"
depends on RAW_KERNEL
default 0
help
To accurately read the complete kernel image, you need to set
the kernel image size (in bytes) when using the RAW-boot function.
if AW_MTD_SPINAND
source "drivers/mtd/awnand/spinand/Kconfig"
endif
if AW_MTD_RAWNAND
source "drivers/mtd/awnand/rawnand/Kconfig"
endif