diff options
author | Kelvin Cheung <keguang.zhang@gmail.com> | 2009-11-22 21:08:37 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-11-22 21:08:37 +0100 |
commit | 07019b2c13ab85e8bc18128ef2772d090f2d18d5 (patch) | |
tree | 6452c186bd8f6b82c2618da0ebdc4feab6d4001b /target/jffs2/Config.in | |
parent | 351b679608e805ed1d6f27a1f6b5e2398eb3a5eb (diff) |
target/jffs2: add support for nand flash with 512B page / 16 kB erasesize
Closes #663
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/jffs2/Config.in')
-rw-r--r-- | target/jffs2/Config.in | 7 |
1 files changed, 7 insertions, 0 deletions
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 |