diff options
Diffstat (limited to 'arch/arm/include/asm/arch-omap3/omap_gpmc.h')
-rw-r--r-- | arch/arm/include/asm/arch-omap3/omap_gpmc.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap3/omap_gpmc.h b/arch/arm/include/asm/arch-omap3/omap_gpmc.h index bd22bce837..c86448baa8 100644 --- a/arch/arm/include/asm/arch-omap3/omap_gpmc.h +++ b/arch/arm/include/asm/arch-omap3/omap_gpmc.h @@ -58,6 +58,25 @@ } #endif +/* Micron MT29F4G16ABBDA internal-to-NAND ECC layout */ +#define GPMC_NAND_CHIP_ECC_LAYOUT {\ + .eccbytes = 32,\ + .eccpos = {8, 9, 10, 11, 12, 13, 14, 15, \ + 24, 25, 26, 27, 28, 19, 30, 31, \ + 40, 41, 42, 43, 44, 45, 46, 47, \ + 56, 57, 58, 59, 60, 61, 62, 63}, \ + .oobfree = {\ + {.offset = 4,\ + .length = 4 },\ + {.offset = 20,\ + .length = 4 },\ + {.offset = 36,\ + .length = 4 },\ + {.offset = 52,\ + .length = 4 },\ + } \ +}; + /* Small Page x8 NAND device Layout */ #ifdef GPMC_NAND_ECC_SP_x8_LAYOUT #define GPMC_NAND_HW_ECC_LAYOUT {\ |