sdk-hwV1.3/lichee/brandy-2.0/u-boot-2018/drivers/mtd/awnand/Kconfig

57 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-05-07 10:09:20 +00:00
config AW_MTD_SPINAND
tristate "Allwinner MTD SPINAND Device Support"
depends on ARCH_SUNXI
select AW_SPINAND_PHYSICAL_LAYER
select AW_SPINAND_NONSTANDARD_SPI_DRIVER
select MTD_UBI
select MTD_DEVICE
select MTD_PARTITIONS
select MTD_CMD_MTDPARTS
select MTD_CMD_UBIFS
select CMD_UBI
select RBTREE
select LZO
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(SLC) Device Support"
depends on ARCH_SUNXI
select SUNXI_UBIFS
select SUNXI_NAND
select SUNXI_COMM_NAND_V1
select MTD_DEVICE
select CMD_MTDPARTS
select CMD_UBIFS
select CMD_UBI
select RBTREE
select LZO
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