Browse Source

ar71xx: remove config partition from the mtd map on the MZK-W300NH board

This space can be used to extend the rootfs_data partition.

SVN-Revision: 21173
Gabor Juhos 15 years ago
parent
commit
fca9b7ebad
1 changed files with 2 additions and 6 deletions
  1. 2 6
      target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c

+ 2 - 6
target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c

@@ -51,11 +51,7 @@ static struct mtd_partition mzk_w300nh_partitions[] = {
 	} , {
 	} , {
 		.name		= "rootfs",
 		.name		= "rootfs",
 		.offset		= 0x1b0000,
 		.offset		= 0x1b0000,
-		.size		= 0x610000,
-	} , {
-		.name		= "config",
-		.offset		= 0x7c0000,
-		.size		= 0x020000,
+		.size		= 0x630000,
 	} , {
 	} , {
 		.name		= "art",
 		.name		= "art",
 		.offset		= 0x7e0000,
 		.offset		= 0x7e0000,
@@ -64,7 +60,7 @@ static struct mtd_partition mzk_w300nh_partitions[] = {
 	} , {
 	} , {
 		.name		= "firmware",
 		.name		= "firmware",
 		.offset		= 0x050000,
 		.offset		= 0x050000,
-		.size		= 0x770000,
+		.size		= 0x790000,
 	}
 	}
 };
 };
 #endif /* CONFIG_MTD_PARTITIONS */
 #endif /* CONFIG_MTD_PARTITIONS */