aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2010-09-28 06:27:00 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-24 19:51:01 -0400
commitaa6d1c0e15948894978b342da45d91f5a2af9933 (patch)
tree1ebfab36e4aa5f2b4657f0ff2b1d8651722a03d9 /drivers/mtd
parentc76268021e04e4313cd3a32242826f6a93388e2d (diff)
mtd: OneNAND: S5PC100: Only S5PC110 use the command map method
After S5PC110 use the generic method for OneNAND. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/onenand/samsung.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c
index b80128036a28..285085a93c31 100644
--- a/drivers/mtd/onenand/samsung.c
+++ b/drivers/mtd/onenand/samsung.c
@@ -58,7 +58,7 @@ enum soc_type {
58#define MAP_11 (0x3) 58#define MAP_11 (0x3)
59 59
60#define S3C64XX_CMD_MAP_SHIFT 24 60#define S3C64XX_CMD_MAP_SHIFT 24
61#define S5PC1XX_CMD_MAP_SHIFT 26 61#define S5PC100_CMD_MAP_SHIFT 26
62 62
63#define S3C6400_FBA_SHIFT 10 63#define S3C6400_FBA_SHIFT 10
64#define S3C6400_FPA_SHIFT 4 64#define S3C6400_FPA_SHIFT 4
@@ -191,7 +191,7 @@ static unsigned int s3c64xx_cmd_map(unsigned type, unsigned val)
191 191
192static unsigned int s5pc1xx_cmd_map(unsigned type, unsigned val) 192static unsigned int s5pc1xx_cmd_map(unsigned type, unsigned val)
193{ 193{
194 return (type << S5PC1XX_CMD_MAP_SHIFT) | val; 194 return (type << S5PC100_CMD_MAP_SHIFT) | val;
195} 195}
196 196
197static unsigned int s3c6400_mem_addr(int fba, int fpa, int fsa) 197static unsigned int s3c6400_mem_addr(int fba, int fpa, int fsa)