Forráskód Böngészése

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>
Kuninori Morimoto 15 éve
szülő
commit
d5ce010c03
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      arch/sh/boards/mach-ecovec24/setup.c

+ 1 - 1
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,