From: Kuninori Morimoto Date: Wed, 30 Sep 2009 00:50:30 +0000 (+0000) Subject: sh: mach-ecovec24: modify 1st MTD area to read only X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5ce010c0327dee0a08a791827156ba84c544eea;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sh: mach-ecovec24: modify 1st MTD area to read only Tested-by: Yusuke Goda Signed-off-by: Kuninori Morimoto Signed-off-by: Paul Mundt --- 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,