All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] sh: mach-ecovec24: modify 1st MTD area to read only
@ 2009-09-30  0:50 Kuninori Morimoto
  2009-09-30  3:52 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Kuninori Morimoto @ 2009-09-30  0:50 UTC (permalink / raw)
  To: linux-sh

Tested-by: Yusuke Goda <goda.yusuke@renesas.com>
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
---
this patch is v2 of 
[PATCH] sh: mach-ecovec24: modify MTD mask_flags typo

v1 -> v2

o MTD_CAP_RAM => MTD_WRITEABLE
o change Subject

 arch/sh/boards/mach-ecovec24/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index 52912a6..0fb665d 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -71,7 +71,7 @@ static struct mtd_partition nor_flash_partitions[] = {
 		.name = "boot loader",
 		.offset = 0,
 		.size = (5 * 1024 * 1024),
-		.mask_flags = MTD_CAP_ROM,
+		.mask_flags = MTD_WRITEABLE,  /* force read-only */
 	}, {
 		.name = "free-area",
 		.offset = MTDPART_OFS_APPEND,
-- 
1.6.0.4


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

end of thread, other threads:[~2009-09-30  3:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30  0:50 [PATCH v2] sh: mach-ecovec24: modify 1st MTD area to read only Kuninori Morimoto
2009-09-30  3:52 ` Paul Mundt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.