mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
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>
This commit is contained in:
parent
8810e0553f
commit
d5ce010c03
@ -71,7 +71,7 @@ static struct mtd_partition nor_flash_partitions[] = {
|
|||||||
.name = "boot loader",
|
.name = "boot loader",
|
||||||
.offset = 0,
|
.offset = 0,
|
||||||
.size = (5 * 1024 * 1024),
|
.size = (5 * 1024 * 1024),
|
||||||
.mask_flags = MTD_CAP_ROM,
|
.mask_flags = MTD_WRITEABLE, /* force read-only */
|
||||||
}, {
|
}, {
|
||||||
.name = "free-area",
|
.name = "free-area",
|
||||||
.offset = MTDPART_OFS_APPEND,
|
.offset = MTDPART_OFS_APPEND,
|
||||||
|
Loading…
Reference in New Issue
Block a user