diff options
author | Stefan Roese <sr@denx.de> | 2012-03-16 05:19:31 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-26 20:01:07 -0400 |
commit | eea628199d5b12429c47db17035a954b0062e554 (patch) | |
tree | ea2ddcd6df17d3c459f7d40477d06ddbc96abc7d /include | |
parent | 30053b87d5b97aca28dd7a59982cbb161eaf01c6 (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')
-rw-r--r-- | include/linux/mtd/fsmc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/fsmc.h b/include/linux/mtd/fsmc.h index 823359c0f5a1..b20029221fb1 100644 --- a/include/linux/mtd/fsmc.h +++ b/include/linux/mtd/fsmc.h | |||
@@ -156,8 +156,8 @@ struct fsmc_nand_platform_data { | |||
156 | unsigned int bank; | 156 | unsigned int bank; |
157 | 157 | ||
158 | /* CLE, ALE offsets */ | 158 | /* CLE, ALE offsets */ |
159 | unsigned long cle_off; | 159 | unsigned int cle_off; |
160 | unsigned long ale_off; | 160 | unsigned int ale_off; |
161 | enum access_mode mode; | 161 | enum access_mode mode; |
162 | 162 | ||
163 | void (*select_bank)(uint32_t bank, uint32_t busw); | 163 | void (*select_bank)(uint32_t bank, uint32_t busw); |