linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] MTD: OneNAND: S5PC100: Only S5PC110 use the command map method
@ 2010-09-28 10:27 Kyungmin Park
  2010-09-28 10:37 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Kyungmin Park @ 2010-09-28 10:27 UTC (permalink / raw)
  To: linux-mtd; +Cc: Artem.Bityutskiy, dwmw2

From: Kyungmin Park <kyungmin.park@samsung.com>

After S5PC110 use the generic method for OneNAND.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 drivers/mtd/onenand/samsung.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c
index b801280..285085a 100644
--- a/drivers/mtd/onenand/samsung.c
+++ b/drivers/mtd/onenand/samsung.c
@@ -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)
-- 
1.5.3.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 1/3] MTD: OneNAND: S5PC100: Only S5PC110 use the command map method
  2010-09-28 10:27 [PATCH v2 1/3] MTD: OneNAND: S5PC100: Only S5PC110 use the command map method Kyungmin Park
@ 2010-09-28 10:37 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-09-28 10:37 UTC (permalink / raw)
  To: ext Kyungmin Park; +Cc: dwmw2@infradead.org, linux-mtd@lists.infradead.org

On Tue, 2010-09-28 at 12:27 +0200, ext Kyungmin Park wrote:
> From: Kyungmin Park <kyungmin.park@samsung.com>
> 
> After S5PC110 use the generic method for OneNAND.
> 
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>

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.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-28 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28 10:27 [PATCH v2 1/3] MTD: OneNAND: S5PC100: Only S5PC110 use the command map method Kyungmin Park
2010-09-28 10:37 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).