diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-09-29 20:50:30 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-09-29 23:51:55 -0400 |
commit | d5ce010c0327dee0a08a791827156ba84c544eea (patch) | |
tree | eb949ff71d064d88f263c023a6e652d5cdfc2d6f /arch/sh | |
parent | 8810e0553fec6ff0a0db1431e388de39e2a2a512 (diff) |
sh: mach-ecovec24: modify 1st MTD area to read only
Tested-by: Yusuke Goda <goda.yusuke@renesas.com>
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | 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 52912a6149c7..0fb665d28603 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[] = { | |||
71 | .name = "boot loader", | 71 | .name = "boot loader", |
72 | .offset = 0, | 72 | .offset = 0, |
73 | .size = (5 * 1024 * 1024), | 73 | .size = (5 * 1024 * 1024), |
74 | .mask_flags = MTD_CAP_ROM, | 74 | .mask_flags = MTD_WRITEABLE, /* force read-only */ |
75 | }, { | 75 | }, { |
76 | .name = "free-area", | 76 | .name = "free-area", |
77 | .offset = MTDPART_OFS_APPEND, | 77 | .offset = MTDPART_OFS_APPEND, |