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/354-MIPS-BCM63XX-allow-building-support-for-more-than-on.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/354-MIPS-BCM63XX-allow-building-support-for-more-than-on.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-4.4/354-MIPS-BCM63XX-allow-building-support-for-more-than-on.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/354-MIPS-BCM63XX-allow-building-support-for-more-than-on.patch b/target/linux/brcm63xx/patches-4.4/354-MIPS-BCM63XX-allow-building-support-for-more-than-on.patch index c8206fcee3..bc37d97da7 100644 --- a/target/linux/brcm63xx/patches-4.4/354-MIPS-BCM63XX-allow-building-support-for-more-than-on.patch +++ b/target/linux/brcm63xx/patches-4.4/354-MIPS-BCM63XX-allow-building-support-for-more-than-on.patch @@ -46,16 +46,16 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> u8 *boot_addr, *cfe; --- a/arch/mips/bcm63xx/boards/board_common.c +++ b/arch/mips/bcm63xx/boards/board_common.c -@@ -14,6 +14,8 @@ +@@ -13,6 +13,8 @@ + #include <linux/platform_device.h> #include <linux/ssb/ssb.h> - #include <linux/spi/spi.h> #include <asm/addrspace.h> +#include <asm/bootinfo.h> +#include <asm/fw/cfe/cfe_api.h> #include <bcm63xx_board.h> #include <bcm63xx_cpu.h> #include <bcm63xx_dev_uart.h> -@@ -32,6 +34,8 @@ +@@ -31,6 +33,8 @@ #include <bcm63xx_dev_usb_usbd.h> #include <board_bcm963xx.h> @@ -64,7 +64,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> #define PFX "board: " static struct board_info board; -@@ -82,6 +86,15 @@ const char *board_get_name(void) +@@ -81,6 +85,15 @@ const char *board_get_name(void) return board.name; } |