aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-ecovec24
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2009-09-30 00:50:30 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-09-30 12:51:55 +0900
commitd5ce010c0327dee0a08a791827156ba84c544eea (patch)
treeeb949ff71d064d88f263c023a6e652d5cdfc2d6f /arch/sh/boards/mach-ecovec24
parentsh: mach-ecovec24: Add TouchScreen support (diff)
downloadlinux-dev-d5ce010c0327dee0a08a791827156ba84c544eea.tar.xz
linux-dev-d5ce010c0327dee0a08a791827156ba84c544eea.zip
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/boards/mach-ecovec24')
-rw-r--r--arch/sh/boards/mach-ecovec24/setup.c2
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[] = {
.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,