diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2017-02-09 21:58:36 +0100 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-06-10 12:40:38 +0200 |
commit | b43c190079eb32eb19e1ba7d550c420933c182ad (patch) | |
tree | 56e0437325b64d7f0c8183370068ba1c149dd86e /target/linux/brcm63xx/patches-4.4/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch | |
parent | 5df15c06ccd105a19431bc32bd1d158b3ff3325e (diff) | |
download | upstream-b43c190079eb32eb19e1ba7d550c420933c182ad.tar.gz upstream-b43c190079eb32eb19e1ba7d550c420933c182ad.tar.bz2 upstream-b43c190079eb32eb19e1ba7d550c420933c182ad.zip |
brcm63xx: probe SPI connected switches through DT
Now that we can configure the switches through DT, do so.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.4/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-4.4/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch | 16 |
1 files changed, 8 insertions, 8 deletions
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 <jogo@openwrt.org> --- 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 <jogo@openwrt.org> 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 <jogo@openwrt.org> /* * 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_ */ |