diff mbox

[PATCH ARM: mach-shmobile: ap4evb: MTD loader become readonly

Message ID w3py694v063.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Commit 2e351ec61c35fac01ed1fb1ce35c183bf85e780c
Headers show

Commit Message

Kuninori Morimoto Nov. 8, 2010, 5:45 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index 0de010e..ed92604 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -159,11 +159,13 @@  static struct mtd_partition nor_flash_partitions[] = {
 		.name		= "loader",
 		.offset		= 0x00000000,
 		.size		= 512 * 1024,
+		.mask_flags	= MTD_WRITEABLE,
 	},
 	{
 		.name		= "bootenv",
 		.offset		= MTDPART_OFS_APPEND,
 		.size		= 512 * 1024,
+		.mask_flags	= MTD_WRITEABLE,
 	},
 	{
 		.name		= "kernel_ro",