Message ID | uhbumqaj9.wl%morimoto.kuninori@renesas.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
On 20:02 Tue 29 Sep , Kuninori Morimoto wrote:
> This patch modify bug which can erase boot loader image area.
IIC you do not want to be able to modify the boot loader area
why?
and why do you allow to write it?
Best Regards,
J.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 5f9881e..ae2cc0d 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -70,7 +70,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_CAP_RAM, }, { .name = "free-area", .offset = MTDPART_OFS_APPEND,