From 07019b2c13ab85e8bc18128ef2772d090f2d18d5 Mon Sep 17 00:00:00 2001 From: Kelvin Cheung Date: Sun, 22 Nov 2009 21:08:37 +0100 Subject: target/jffs2: add support for nand flash with 512B page / 16 kB erasesize Closes #663 Signed-off-by: Kelvin Cheung Signed-off-by: Peter Korsgaard --- target/jffs2/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'target') diff --git a/target/jffs2/Config.in b/target/jffs2/Config.in index 16fdcc5f4..108dfde73 100644 --- a/target/jffs2/Config.in +++ b/target/jffs2/Config.in @@ -19,6 +19,10 @@ config BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 bool "AT45 dataflash with 528 byte pagesize" select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER +config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K + bool "NAND flash with 512B Page and 16 kB erasesize" + select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER + config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K bool "NAND flash with 2kB Page and 128 kB erasesize" select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER @@ -52,6 +56,7 @@ config BR2_TARGET_ROOTFS_JFFS2_PAGESIZE hex default 0x420 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 default 0x210 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 + default 0x200 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K default 0x800 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K default 0x1000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_128 default 0x1000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_64 @@ -61,6 +66,7 @@ config BR2_TARGET_ROOTFS_JFFS2_EBSIZE hex default 0x2100 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 default 0x1080 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 + default 0x4000 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K default 0x20000 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K default 0x20000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_128 default 0x10000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_64 @@ -70,6 +76,7 @@ config BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER bool "Do not use Cleanmarker" default y if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 default y if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 + default y if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K default y if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K help Do not use cleanmarkers if using NAND flash or Dataflash where -- cgit v1.2.3