summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.10/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-01-19 13:46:14 +0000
committerJonas Gorski <jogo@openwrt.org>2014-01-19 13:46:14 +0000
commitef81c6a268299ef8d1cba61a996fc3f591e536c4 (patch)
treea903b9685af627657d8a7cdded7904859f620d7c /target/linux/brcm63xx/patches-3.10/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch
parent6b3e1c8de6fb950be43b9b4f07b53697f80a2227 (diff)
downloadmaster-31e0f0ae-ef81c6a268299ef8d1cba61a996fc3f591e536c4.tar.gz
master-31e0f0ae-ef81c6a268299ef8d1cba61a996fc3f591e536c4.tar.bz2
master-31e0f0ae-ef81c6a268299ef8d1cba61a996fc3f591e536c4.zip
brcm63xx: allow setting the number of usb host ports for boards
Allow setting the number of available usb host ports for boards with additional sanity checks to allow using the second port on devices where it is available. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39324
Diffstat (limited to 'target/linux/brcm63xx/patches-3.10/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.10/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-3.10/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch b/target/linux/brcm63xx/patches-3.10/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch
index ceab4018c5..0b7c1ca540 100644
--- a/target/linux/brcm63xx/patches-3.10/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch
+++ b/target/linux/brcm63xx/patches-3.10/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch
@@ -18,15 +18,15 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data
#include <uapi/linux/bcm933xx_hcs.h>
#include <uapi/linux/bcm963xx_tag.h>
-@@ -967,6 +968,7 @@ int __init board_register_devices(void)
- {
+@@ -968,6 +969,7 @@ int __init board_register_devices(void)
int button_count = 0;
int led_count = 0;
+ int usbh_ports = 0;
+ int i;
if (board.has_uart0)
bcm63xx_uart_register(0);
-@@ -1005,7 +1007,8 @@ int __init board_register_devices(void)
+@@ -1013,7 +1015,8 @@ int __init board_register_devices(void)
* do this after registering enet devices
*/
#ifdef CONFIG_SSB_PCIHOST
@@ -36,7 +36,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data
memcpy(bcm63xx_sprom.et0mac, bcm63xx_sprom.il0mac, ETH_ALEN);
memcpy(bcm63xx_sprom.et1mac, bcm63xx_sprom.il0mac, ETH_ALEN);
if (ssb_arch_register_fallback_sprom(
-@@ -1052,5 +1055,9 @@ int __init board_register_devices(void)
+@@ -1060,5 +1063,9 @@ int __init board_register_devices(void)
platform_device_register(&bcm63xx_gpio_keys_device);
}