diff options
author | Barry Song <barry.song@analog.com> | 2010-08-05 11:07:43 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-08-05 11:14:38 -0400 |
commit | 44299179c0e87cc6d8b753c1ca8c97b1cf9340e1 (patch) | |
tree | 32937511cd59cb954164422376d4fd364f7b02b6 /arch/blackfin/include/asm | |
parent | 752b957a37ee1cc09fccb39a8bc5843edf32119b (diff) |
mtd: Blackfin NFC: fix handling of page sizes
Rather than forcing the platform resources to declare the desired page
size, simply use the existing information passed down to us by the higher
layers. This way we work out of the box with all flash chips that the
kernel knows about.
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/blackfin/include/asm')
-rw-r--r-- | arch/blackfin/include/asm/nand.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/blackfin/include/asm/nand.h b/arch/blackfin/include/asm/nand.h index 3a1e79dfc8d9..256c50d8d465 100644 --- a/arch/blackfin/include/asm/nand.h +++ b/arch/blackfin/include/asm/nand.h | |||
@@ -15,8 +15,6 @@ | |||
15 | * partitions = mtd partition list | 15 | * partitions = mtd partition list |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #define NFC_PG_SIZE_256 0 | ||
19 | #define NFC_PG_SIZE_512 1 | ||
20 | #define NFC_PG_SIZE_OFFSET 9 | 18 | #define NFC_PG_SIZE_OFFSET 9 |
21 | 19 | ||
22 | #define NFC_NWIDTH_8 0 | 20 | #define NFC_NWIDTH_8 0 |
@@ -30,7 +28,6 @@ | |||
30 | 28 | ||
31 | struct bf5xx_nand_platform { | 29 | struct bf5xx_nand_platform { |
32 | /* NAND chip information */ | 30 | /* NAND chip information */ |
33 | unsigned short page_size; | ||
34 | unsigned short data_width; | 31 | unsigned short data_width; |
35 | 32 | ||
36 | /* RD/WR strobe delay timing information, all times in SCLK cycles */ | 33 | /* RD/WR strobe delay timing information, all times in SCLK cycles */ |