From 641c87b127d8b1d0855a8bf42b753ea589e1843b Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Sun, 3 Jul 2011 15:01:48 +0000
Subject: [PATCH] ramips: consistently use 'firmware' name for sysupgrade
 partitions

SVN-Revision: 27383
---
 target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c | 2 +-
 .../ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c    | 2 +-
 .../linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c | 2 +-
 .../linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c   | 2 +-
 .../linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c | 2 +-
 .../linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c
index 1af3efc785..066667e775 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c
@@ -60,7 +60,7 @@ static struct mtd_partition rt_n15_partitions[] = {
 		.offset	= 0x100000,
 		.size	= 0x300000,
 	}, {
-		.name	= "openwrt",
+		.name	= "firmware",
 		.offset	= 0x050000,
 		.size	= 0x3b0000,
 	}
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
index 7aed11d022..d76a8b4478 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
@@ -57,7 +57,7 @@ static struct mtd_partition dir_300b_partitions[] = {
 		.offset	= 0x140000,
 		.size	= 0x2B0000,
 	}, {
-		.name	= "openwrt",
+		.name	= "firmware",
 		.offset	= 0x050000,
 		.size	= 0x3a0000,
 	}
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c
index 9fc6a33a6f..bbf152fa86 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c
@@ -57,7 +57,7 @@ static struct mtd_partition fonera20n_partitions[] = {
 		.offset	= 0x150000,
 		.size	= 0x6b0000,
 	}, {
-		.name	= "openwrt",
+		.name	= "firmware",
 		.offset	= 0x050000,
 		.size	= 0x7b0000,
 	}
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c
index e40c8a850c..03dc19221d 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c
@@ -49,7 +49,7 @@ static struct mtd_partition pwh2004_partitions[] = {
 		.offset	= 0x050000,
 		.size	= 0x7b0000,
 	}, {
-		.name	= "openwrt",
+		.name	= "firmware",
 		.offset	= 0x050000,
 		.size	= 0x7b0000,
 	}
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c
index b451723c10..382da755f9 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c
@@ -55,7 +55,7 @@ static struct mtd_partition v22rw_2x2_partitions[] = {
 		.offset	= 0x150000,
 		.size	= 0x2b0000,
 	}, {
-		.name	= "openwrt",
+		.name	= "firmware",
 		.offset	= 0x050000,
 		.size	= 0x3b0000,
 	}
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c
index c544026856..6313135885 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c
@@ -63,7 +63,7 @@ static struct mtd_partition whr_g300n_partitions[] = {
 		.offset	= 0x3f0000,
 		.size	= 0x010000,
 	}, {
-		.name	= "openwrt",
+		.name	= "firmware",
 		.offset	= 0x050000,
 		.size	= 0x3a0000,
 	}
-- 
GitLab