ar71xx: rework changes from r35840
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-wzr-hp-ag300h.c
index aa035c8..9ba5ecd 100644 (file)
@@ -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);