config CMD_NAND
bool "nand"
+ default y if ARCH_SUNXI
help
NAND support.
if CMD_NAND
config CMD_NAND_TRIMFFS
bool "nand write.trimffs"
+ default y if ARCH_SUNXI
help
Allows one to skip empty pages when flashing something on a NAND.
tristate "Enable UBI - Unsorted block images commands"
select CRC32
select MTD_UBI
+ default y if ARCH_SUNXI
help
UBI is a software layer above MTD layer which admits use of LVM-like
logical volumes on top of MTD devices, hides some complexities of
select CRC32
select RBTREE if ARCH_SUNXI
select LZO if ARCH_SUNXI
+ default y if ARCH_SUNXI
help
UBIFS is a file system for flash devices which works on top of UBI.
#define CONFIG_SYS_NAND_MAX_ECCPOS 1664
#define CONFIG_SYS_NAND_ONFI_DETECTION
#define CONFIG_SYS_MAX_NAND_DEVICE 8
+
+#define CONFIG_MTD_DEVICE
+#define CONFIG_MTD_PARTITIONS
#endif
#ifdef CONFIG_SPL_SPI_SUNXI