Commit aa6d1c0e authored by Kyungmin Park's avatar Kyungmin Park Committed by David Woodhouse

mtd: OneNAND: S5PC100: Only S5PC110 use the command map method

After S5PC110 use the generic method for OneNAND.
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent c7626802
...@@ -58,7 +58,7 @@ enum soc_type { ...@@ -58,7 +58,7 @@ enum soc_type {
#define MAP_11 (0x3) #define MAP_11 (0x3)
#define S3C64XX_CMD_MAP_SHIFT 24 #define S3C64XX_CMD_MAP_SHIFT 24
#define S5PC1XX_CMD_MAP_SHIFT 26 #define S5PC100_CMD_MAP_SHIFT 26
#define S3C6400_FBA_SHIFT 10 #define S3C6400_FBA_SHIFT 10
#define S3C6400_FPA_SHIFT 4 #define S3C6400_FPA_SHIFT 4
...@@ -191,7 +191,7 @@ static unsigned int s3c64xx_cmd_map(unsigned type, unsigned val) ...@@ -191,7 +191,7 @@ static unsigned int s3c64xx_cmd_map(unsigned type, unsigned val)
static unsigned int s5pc1xx_cmd_map(unsigned type, unsigned val) static unsigned int s5pc1xx_cmd_map(unsigned type, unsigned val)
{ {
return (type << S5PC1XX_CMD_MAP_SHIFT) | val; return (type << S5PC100_CMD_MAP_SHIFT) | val;
} }
static unsigned int s3c6400_mem_addr(int fba, int fpa, int fsa) static unsigned int s3c6400_mem_addr(int fba, int fpa, int fsa)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment