diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2013-10-04 10:05:36 +0530 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-11-21 13:33:40 -0600 |
commit | 71220f80e7489b7fc1766f573ae89c64db2419ce (patch) | |
tree | 21e0ac06a1c36352ba9f3a41a4cf7fdfe4316818 /arch/powerpc/include/asm/fsl_ifc.h | |
parent | 68ec9c85a9d334c7598b4972af037de05c034f8d (diff) | |
download | u-boot-imx-71220f80e7489b7fc1766f573ae89c64db2419ce.zip u-boot-imx-71220f80e7489b7fc1766f573ae89c64db2419ce.tar.gz u-boot-imx-71220f80e7489b7fc1766f573ae89c64db2419ce.tar.bz2 |
mtd/ifc: Add support of 8K page size NAND flash
Current IFC driver supports till 4K page size NAND flash.
Add support of 8K NAND flash
- Program Spare region size in csor_ext
- Add nand_ecclayout for 4 bit & 8 bit ecc
- Defines constants
- Add support of 8K NAND boot.
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
CC: Liu Po <po.liu@freescale.com>
Diffstat (limited to 'arch/powerpc/include/asm/fsl_ifc.h')
-rw-r--r-- | arch/powerpc/include/asm/fsl_ifc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_ifc.h b/arch/powerpc/include/asm/fsl_ifc.h index a945e4b..182b1a6 100644 --- a/arch/powerpc/include/asm/fsl_ifc.h +++ b/arch/powerpc/include/asm/fsl_ifc.h @@ -77,6 +77,7 @@ #define CSOR_NAND_PGS_512 0x00000000 #define CSOR_NAND_PGS_2K 0x00080000 #define CSOR_NAND_PGS_4K 0x00100000 +#define CSOR_NAND_PGS_8K 0x00180000 /* Spare region Size */ #define CSOR_NAND_SPRZ_MASK 0x0000E000 #define CSOR_NAND_SPRZ_SHIFT 13 @@ -86,6 +87,7 @@ #define CSOR_NAND_SPRZ_210 0x00006000 #define CSOR_NAND_SPRZ_218 0x00008000 #define CSOR_NAND_SPRZ_224 0x0000A000 +#define CSOR_NAND_SPRZ_CSOR_EXT 0x0000C000 /* Pages Per Block */ #define CSOR_NAND_PB_MASK 0x00000700 #define CSOR_NAND_PB_SHIFT 8 |