From 496863b2440dd7cd69a1ad2443a9badd5f8968d1 Mon Sep 17 00:00:00 2001 From: Sandeep Paulraj Date: Sat, 9 May 2009 12:35:20 -0400 Subject: [PATCH] NAND DaVinci: Update to ALE/CLE Mask values 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 Signed-off-by: Scott Wood --- include/asm-arm/arch-davinci/nand_defs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/asm-arm/arch-davinci/nand_defs.h b/include/asm-arm/arch-davinci/nand_defs.h index ba75cd66c5..f2020728d6 100644 --- a/include/asm-arm/arch-davinci/nand_defs.h +++ b/include/asm-arm/arch-davinci/nand_defs.h @@ -28,8 +28,13 @@ #include +#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 -- 2.25.1