diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-09-30 04:50:30 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-09-30 07:51:55 +0400 |
commit | d5ce010c0327dee0a08a791827156ba84c544eea (patch) | |
tree | eb949ff71d064d88f263c023a6e652d5cdfc2d6f /arch/sh | |
parent | 8810e0553fec6ff0a0db1431e388de39e2a2a512 (diff) | |
download | linux-d5ce010c0327dee0a08a791827156ba84c544eea.tar.xz |
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[] = { .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, |