ramips: consistently use 'firmware' name for sysupgrade partitions
[openwrt/openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / mach-dir-300-revb.c
index d1c015f88a03744fcaa6b0a29318b75ee2710645..d76a8b4478537aab05d69b041c0e07ebd7fc1319 100644 (file)
@@ -51,13 +51,13 @@ static struct mtd_partition dir_300b_partitions[] = {
        }, {
                .name   = "kernel",
                .offset = 0x050000,
-               .size   = 0x090000,
+               .size   = 0x0f0000,
        }, {
                .name   = "rootfs",
                .offset = 0x140000,
                .size   = 0x2B0000,
        }, {
-               .name   = "openwrt",
+               .name   = "firmware",
                .offset = 0x050000,
                .size   = 0x3a0000,
        }
@@ -117,6 +117,7 @@ static void __init dir_300b_init(void)
                                     ARRAY_SIZE(dir_300b_gpio_buttons),
                                     dir_300b_gpio_buttons);
        rt305x_register_wifi();
+       rt305x_register_wdt();
 }
 
 MIPS_MACHINE(RAMIPS_MACH_DIR_300_REVB, "DIR-300-revB", "D-Link DIR-300 revB",