]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/Kconfig
mtd: nand: mxs_nand: use self init
[u-boot] / drivers / mtd / nand / Kconfig
index cf323c5348dc474f7c53cd81463c3dd5092eb1b9..4db259fcb224160566a7dea65bf87c8116bc5a2a 100644 (file)
@@ -143,6 +143,7 @@ config NAND_MXC
 config NAND_MXS
        bool "MXS NAND support"
        depends on MX23 || MX28 || MX6 || MX7
+       select SYS_NAND_SELF_INIT
        imply CMD_NAND
        select APBH_DMA
        select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7
@@ -168,6 +169,28 @@ config NAND_ZYNQ_USE_BOOTLOADER1_TIMINGS
 
 comment "Generic NAND options"
 
+config SYS_NAND_BLOCK_SIZE
+       hex "NAND chip eraseblock size"
+       depends on ARCH_SUNXI
+       help
+         Number of data bytes in one eraseblock for the NAND chip on the
+         board. This is the multiple of NAND_PAGE_SIZE and the number of
+         pages.
+
+config SYS_NAND_PAGE_SIZE
+       hex "NAND chip page size"
+       depends on ARCH_SUNXI
+       help
+         Number of data bytes in one page for the NAND chip on the
+         board, not including the OOB area.
+
+config SYS_NAND_OOBSIZE
+       hex "NAND chip OOB size"
+       depends on ARCH_SUNXI
+       help
+         Number of bytes in the Out-Of-Band area for the NAND chip on
+         the board.
+
 # Enhance depends when converting drivers to Kconfig which use this config
 # option (mxc_nand, ndfc, omap_gpmc).
 config SYS_NAND_BUSWIDTH_16BIT