diff options
author | Shiraz Hashim <shiraz.hashim@st.com> | 2012-03-07 17:00:52 +0530 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-27 00:46:19 +0100 |
commit | 02bfc4ebbd2532440fadd78076f3a51e0ae89f7f (patch) | |
tree | 51317b0b1bce317b83c4b78d33ba02551a889e6e /include/linux/mtd | |
parent | b2acc92e144336dd29e30dc5d26439355be750b6 (diff) | |
download | linux-3.10-02bfc4ebbd2532440fadd78076f3a51e0ae89f7f.tar.gz linux-3.10-02bfc4ebbd2532440fadd78076f3a51e0ae89f7f.tar.bz2 linux-3.10-02bfc4ebbd2532440fadd78076f3a51e0ae89f7f.zip |
mtd: fsmc: Move ALE, CLE defines to their respective platform
Address Latch Enable (ALE) and Command Latch Enable (CLE) defines are
platform specific and were wrongly put in driver specific fsmc.h file.
Move such defines to their respective platform.
Also instead of relying on fsmc driver, pass ALE, CLE offsets explicitly
from individual platform.
Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/fsmc.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/mtd/fsmc.h b/include/linux/mtd/fsmc.h index 2cd655f06e0..e877325d9c5 100644 --- a/include/linux/mtd/fsmc.h +++ b/include/linux/mtd/fsmc.h @@ -26,19 +26,6 @@ #define FSMC_NAND_BW8 1 #define FSMC_NAND_BW16 2 -/* - * The placement of the Command Latch Enable (CLE) and - * Address Latch Enable (ALE) is twisted around in the - * SPEAR310 implementation. - */ -#if defined(CONFIG_MACH_SPEAR310) -#define PLAT_NAND_CLE (1 << 17) -#define PLAT_NAND_ALE (1 << 16) -#else -#define PLAT_NAND_CLE (1 << 16) -#define PLAT_NAND_ALE (1 << 17) -#endif - #define FSMC_MAX_NOR_BANKS 4 #define FSMC_MAX_NAND_BANKS 4 |