ramips: rt305x: register the dwc_otg device on the relevant boards
[openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / mach-wcr150gn.c
index 2358a5c..984bab7 100644 (file)
 #ifdef CONFIG_MTD_PARTITIONS
 static struct mtd_partition wcr150gn_partitions[] = {
        {
-               .name   = "Bootloader",
+               .name   = "bootloader",
                .offset = 0,
                .size   = 0x030000,
                .mask_flags = MTD_WRITEABLE,
        }, {
-               .name   = "Config",
+               .name   = "config",
                .offset = 0x030000,
                .size   = 0x040000,
        }, {
-               .name   = "Factory",
+               .name   = "factory",
                .offset = 0x040000,
                .size   = 0x050000,
        }, {
-               .name   = "Kernel",
+               .name   = "kernel",
                .offset = 0x050000,
                .size   = 0x120000,
        }, {
@@ -60,6 +60,7 @@ static void __init wcr150gn_init(void)
 {
        rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
        rt305x_register_flash(0, &wcr150gn_flash_data);
+       rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
        rt305x_register_ethernet();
        rt305x_register_wifi();
        rt305x_register_wdt();
This page took 0.020473 seconds and 4 git commands to generate.