diff mbox

[v2] sh: mach-ecovec24: modify 1st MTD area to read only

Message ID uk4zh9rxl.wl%morimoto.kuninori@renesas.com (mailing list archive)
State Accepted
Headers show

Commit Message

Kuninori Morimoto Sept. 30, 2009, 12:50 a.m. UTC
None

Comments

Paul Mundt Sept. 30, 2009, 3:52 a.m. UTC | #1
On Wed, Sep 30, 2009 at 09:50:30AM +0900, Kuninori Morimoto wrote:
> 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(-)
> 
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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,