brcm63xx: register serial through device tree
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 499-allow_better_context_for_board_patches.patch
index 98292d5395c539c7bc1eafb435e458d88a554af7..ad9c5b30e4a9726938969c00d270b22125122c6a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -57,7 +57,7 @@ static struct board_info __initdata boar
+@@ -46,7 +46,7 @@ static struct board_info __initdata boar
        .ephy_reset_gpio                = 36,
        .ephy_reset_gpio_flags          = GPIO_ACTIVE_LOW,
  };
@@ -9,8 +9,8 @@
  
  /*
   * known 6328 boards
-@@ -106,7 +106,7 @@ static struct board_info __initdata boar
-               },
+@@ -65,7 +65,7 @@ static struct board_info __initdata boar
+               .port_no                = 0,
        },
  };
 -#endif
@@ -18,8 +18,8 @@
  
  /*
   * known 6338 boards
-@@ -199,7 +199,7 @@ static struct board_info __initdata boar
-               },
+@@ -98,7 +98,7 @@ static struct board_info __initdata boar
+               .force_duplex_full      = 1,
        },
  };
 -#endif
  
  /*
   * known 6345 boards
-@@ -211,7 +211,7 @@ static struct board_info __initdata boar
-       .has_uart0                      = 1,
+@@ -108,7 +108,7 @@ static struct board_info __initdata boar
+       .name                           = "96345GW2",
+       .expected_cpu_id                = 0x6345,
  };
 -#endif
 +#endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
   * known 6348 boards
-@@ -538,7 +538,7 @@ static struct board_info __initdata boar
+@@ -311,7 +311,7 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
  };
@@ -45,7 +45,7 @@
  
  /*
   * known 6358 boards
-@@ -699,7 +699,7 @@ static struct board_info __initdata boar
+@@ -419,7 +419,7 @@ static struct board_info __initdata boar
  
        .has_ohci0                      = 1,
  };