aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.14/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2018-12-20 00:02:31 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2018-12-30 13:22:13 +0100
commita01568fbd34eefeb7c92da68a55d25000728d7a6 (patch)
tree8358cbe73d27d69c35a99147bbeab3c7aac6e0ed /target/linux/brcm63xx/patches-4.14/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
parentd09561f73d74c467347753a153c509faa48233a1 (diff)
downloadupstream-a01568fbd34eefeb7c92da68a55d25000728d7a6.tar.gz
upstream-a01568fbd34eefeb7c92da68a55d25000728d7a6.tar.bz2
upstream-a01568fbd34eefeb7c92da68a55d25000728d7a6.zip
brcm63xx: remove broken DSP platform device code
There is no driver and it crashes the kernel, so just remove it. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.14/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.14/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/brcm63xx/patches-4.14/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch b/target/linux/brcm63xx/patches-4.14/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
index 599e4f85e9..35c2ef63ee 100644
--- a/target/linux/brcm63xx/patches-4.14/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
+++ b/target/linux/brcm63xx/patches-4.14/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
@@ -1,13 +1,13 @@
--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -42,6 +42,7 @@ struct board_info {
+@@ -40,6 +40,7 @@ struct board_info {
/* USB config */
struct bcm63xx_usbd_platform_data usbd;
+ unsigned int num_usbh_ports:2;
- /* DSP config */
- struct bcm63xx_dsp_platform_data dsp;
+ /* GPIO LEDs */
+ struct gpio_led leds[5];
--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_ehci.h
+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_ehci.h
@@ -1,6 +1,6 @@
@@ -30,7 +30,7 @@
#endif /* BCM63XX_DEV_USB_OHCI_H_ */
--- a/arch/mips/bcm63xx/boards/board_common.c
+++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -166,6 +166,8 @@ static struct platform_device bcm63xx_gp
+@@ -165,6 +165,8 @@ static struct platform_device bcm63xx_gp
*/
int __init board_register_devices(void)
{
@@ -39,7 +39,7 @@
if (board.has_uart0)
bcm63xx_uart_register(0);
-@@ -187,14 +189,21 @@ int __init board_register_devices(void)
+@@ -186,14 +188,21 @@ int __init board_register_devices(void)
!board_get_mac_address(board.enetsw.mac_addr))
bcm63xx_enetsw_register(&board.enetsw);
@@ -61,8 +61,8 @@
- bcm63xx_ohci_register();
+ bcm63xx_ohci_register(usbh_ports);
- if (board.has_dsp)
- bcm63xx_dsp_register(&board.dsp);
+ /* Generate MAC address for WLAN and register our SPROM,
+ * do this after registering enet devices
--- a/arch/mips/bcm63xx/dev-usb-ehci.c
+++ b/arch/mips/bcm63xx/dev-usb-ehci.c
@@ -79,12 +79,14 @@ static struct platform_device bcm63xx_eh