From b43c190079eb32eb19e1ba7d550c420933c182ad Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Thu, 9 Feb 2017 21:58:36 +0100 Subject: brcm63xx: probe SPI connected switches through DT Now that we can configure the switches through DT, do so. Signed-off-by: Jonas Gorski --- ...57-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'target/linux/brcm63xx/patches-4.4/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch') diff --git a/target/linux/brcm63xx/patches-4.4/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch b/target/linux/brcm63xx/patches-4.4/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch index cfa7d768b0..011549cdcc 100644 --- a/target/linux/brcm63xx/patches-4.4/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch +++ b/target/linux/brcm63xx/patches-4.4/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch @@ -17,7 +17,7 @@ Signed-off-by: Jonas Gorski --- a/arch/mips/bcm63xx/boards/board_common.c +++ b/arch/mips/bcm63xx/boards/board_common.c -@@ -143,7 +143,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 @@ Signed-off-by: Jonas Gorski if (board.has_uart0) bcm63xx_uart_register(0); -@@ -189,8 +188,8 @@ int __init board_register_devices(void) +@@ -188,8 +187,8 @@ int __init board_register_devices(void) * do this after registering enet devices */ @@ -83,13 +83,13 @@ Signed-off-by: Jonas Gorski /* * flash mapping -@@ -55,6 +56,9 @@ struct board_info { +@@ -54,6 +55,9 @@ struct board_info { + /* External PHY reset GPIO flags from gpio.h */ unsigned long ephy_reset_gpio_flags; - ++ + /* fallback sprom config */ + struct fallback_sprom_data fallback_sprom; -+ - /* Additional platform devices */ - struct spi_board_info *spis; - unsigned int num_spis; + }; + + #endif /* ! BOARD_BCM963XX_H_ */ -- cgit v1.2.3