Skip to contentSkip to conversation

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

PATCH In review Kyungmin Park 2 participants 2 messages Sep 28, 2010 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 MTD: OneNAND: S5PC100: Only S5PC110 use the command map method

From: Kyungmin Park <[email protected]>

After S5PC110 use the generic method for OneNAND.

---
 drivers/mtd/onenand/samsung.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/mtd/onenand/samsung.c +2 -2
index b801280..285085a 100644
@@ -58,7 +58,7 @@ enum soc_type {
 #define MAP_11				(0x3)
 
 #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_FPA_SHIFT		4
@@ -191,7 +191,7 @@ static unsigned int s3c64xx_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)
Signature · 1 line
1.5.3.3
#1 lore raw
Quoted 5 lines · ext Kyungmin Park

From: Kyungmin Park <[email protected]>

After S5PC110 use the generic method for OneNAND.

Prefixes are still "MTD:". Also, please, try to use my gmail.com e-mail, not nokia.com e-mail

No need to re-send, I'll try to apply them to my l2 tree later and I'll amend the prefixes.

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Артём Битюцкий)