aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-03-03 21:59:34 +0000
committerLuka Perkov <luka@openwrt.org>2013-03-03 21:59:34 +0000
commitf6a61008f2a95081e29f15cf32026e8fe9f80fd4 (patch)
tree6925b69a922702013218e5ea3678eb66044f4c3a /target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
parentc042cde24568c28005e8f97fe3e5069ef042ff6c (diff)
downloadmaster-187ad058-f6a61008f2a95081e29f15cf32026e8fe9f80fd4.tar.gz
master-187ad058-f6a61008f2a95081e29f15cf32026e8fe9f80fd4.tar.bz2
master-187ad058-f6a61008f2a95081e29f15cf32026e8fe9f80fd4.zip
ar71xx: rework changes from r35840
Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35865 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
index aa035c81b1..9ba5ecd2ea 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c
@@ -36,6 +36,7 @@ static struct mtd_partition wzrhpag300h_flash_partitions[] = {
.name = "u-boot-env",
.offset = 0x0040000,
.size = 0x0010000,
+ .mask_flags = MTD_WRITEABLE,
}, {
.name = "art",
.offset = 0x0050000,
@@ -209,8 +210,4 @@ static void __init wzrhpag300h_setup(void)
}
MIPS_MACHINE(ATH79_MACH_WZR_HP_AG300H, "WZR-HP-AG300H",
- "Buffalo WZR-HP-AG300H", wzrhpag300h_setup);
-
-MIPS_MACHINE(ATH79_MACH_WZR_600DHP, "WZR-600DHP",
- "Buffalo WZR-600DHP", wzrhpag300h_setup);
-
+ "Buffalo WZR-HP-AG300H/WZR-600DHP", wzrhpag300h_setup);