|
@@ -28,8 +28,13 @@
|
|
|
|
|
|
#include <asm/arch/hardware.h>
|
|
#include <asm/arch/hardware.h>
|
|
|
|
|
|
|
|
+#ifdef CONFIG_SOC_DM646x
|
|
|
|
+#define MASK_CLE 0x80000
|
|
|
|
+#define MASK_ALE 0x40000
|
|
|
|
+#else
|
|
#define MASK_CLE 0x10
|
|
#define MASK_CLE 0x10
|
|
#define MASK_ALE 0x08
|
|
#define MASK_ALE 0x08
|
|
|
|
+#endif
|
|
|
|
|
|
#define NAND_READ_START 0x00
|
|
#define NAND_READ_START 0x00
|
|
#define NAND_READ_END 0x30
|
|
#define NAND_READ_END 0x30
|