]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
NAND DaVinci: Update to ALE/CLE Mask values
authorSandeep Paulraj <s-paulraj@ti.com>
Sat, 9 May 2009 16:35:20 +0000 (12:35 -0400)
committerScott Wood <scottwood@freescale.com>
Tue, 7 Jul 2009 22:58:02 +0000 (17:58 -0500)
All DaVinci SOC's use a CLE mask of 0x10 and an ALE mask of 0x8
except the DM646x. This was decided by the design team driving the design.
This patch updates the CLE and ALE values for DM646x.
Updated patches for DM646x will be sent shortly.
This applies to u-boot-nand-flash git

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
include/asm-arm/arch-davinci/nand_defs.h

index ba75cd66c586aef7ae00e14bca1bbeaa03241e5f..f2020728d6b8109490cf42ded5bac9897f934767 100644 (file)
 
 #include <asm/arch/hardware.h>
 
+#ifdef CONFIG_SOC_DM646x
+#define        MASK_CLE        0x80000
+#define        MASK_ALE        0x40000
+#else
 #define        MASK_CLE        0x10
 #define        MASK_ALE        0x08
+#endif
 
 #define NAND_READ_START                0x00
 #define NAND_READ_END          0x30