diff options
author | Stefan Roese <sr@denx.de> | 2012-03-16 10:19:31 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-27 01:01:07 +0100 |
commit | eea628199d5b12429c47db17035a954b0062e554 (patch) | |
tree | ea2ddcd6df17d3c459f7d40477d06ddbc96abc7d /include | |
parent | 30053b87d5b97aca28dd7a59982cbb161eaf01c6 (diff) | |
download | linux-eea628199d5b12429c47db17035a954b0062e554.tar.gz linux-eea628199d5b12429c47db17035a954b0062e554.tar.bz2 linux-eea628199d5b12429c47db17035a954b0062e554.zip |
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 { 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); |