OpenWrt
/branches/18.06.1/target/linux/brcm63xx/patches-4.14/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch |
@@ -17,7 +17,7 @@ |
|
--- a/arch/mips/bcm63xx/boards/board_common.c |
+++ b/arch/mips/bcm63xx/boards/board_common.c |
@@ -141,7 +141,6 @@ static struct platform_device bcm63xx_gp |
@@ -142,7 +142,6 @@ static struct platform_device bcm63xx_gp |
int __init board_register_devices(void) |
{ |
int usbh_ports = 0; |
@@ -25,7 +25,7 @@ |
|
if (board.has_uart0) |
bcm63xx_uart_register(0); |
@@ -184,8 +183,8 @@ int __init board_register_devices(void) |
@@ -188,8 +187,8 @@ int __init board_register_devices(void) |
* do this after registering enet devices |
*/ |
|
@@ -75,15 +75,15 @@ |
#endif |
--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h |
+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h |
@@ -7,6 +7,7 @@ |
#include <linux/leds.h> |
@@ -8,6 +8,7 @@ |
#include <bcm63xx_dev_enet.h> |
#include <bcm63xx_dev_usb_usbd.h> |
#include <bcm63xx_dev_dsp.h> |
+#include <bcm63xx_fallback_sprom.h> |
|
/* |
* flash mapping |
@@ -50,6 +51,9 @@ struct board_info { |
@@ -55,6 +56,9 @@ struct board_info { |
|
/* External PHY reset GPIO flags from gpio.h */ |
unsigned long ephy_reset_gpio_flags; |