summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2012-03-16 10:19:31 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-27 01:01:07 +0100
commiteea628199d5b12429c47db17035a954b0062e554 (patch)
treeea2ddcd6df17d3c459f7d40477d06ddbc96abc7d /include/linux/mtd
parent30053b87d5b97aca28dd7a59982cbb161eaf01c6 (diff)
mtd: Add device-tree support to fsmc_nand
This patch adds support to configure the FSMC NAND driver (used amongst others on SPEAr platforms) via device-tree instead of platform_data. Signed-off-by: Stefan Roese <sr@denx.de> 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/fsmc.h b/include/linux/mtd/fsmc.h
index 823359c0f5a..b20029221fb 100644
--- a/include/linux/mtd/fsmc.h
+++ b/include/linux/mtd/fsmc.h
@@ -156,8 +156,8 @@ struct fsmc_nand_platform_data {
unsigned int bank;
/* CLE, ALE offsets */
- unsigned long cle_off;
- unsigned long ale_off;
+ unsigned int cle_off;
+ unsigned int ale_off;
enum access_mode mode;
void (*select_bank)(uint32_t bank, uint32_t busw);