aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.37/180-udc_preliminary_support.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2011-05-01 20:28:35 +0000
committerHauke Mehrtens <hauke@openwrt.org>2011-05-01 20:28:35 +0000
commita6d76eb003579e0ca388f15cc75d7669356d6039 (patch)
treea4af4b9a59d3ffae404928bc156a91909a87be21 /target/linux/brcm63xx/patches-2.6.37/180-udc_preliminary_support.patch
parent3ebb74c8dfca1eaf99340a0869ad3f97a6c285f6 (diff)
downloadupstream-a6d76eb003579e0ca388f15cc75d7669356d6039.tar.gz
upstream-a6d76eb003579e0ca388f15cc75d7669356d6039.tar.bz2
upstream-a6d76eb003579e0ca388f15cc75d7669356d6039.zip
brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx architecture ssb now asks the architecture code to look into the nvram to get some sprom data for this device. Now we are able to read out pci/1/1/ foo or pci/1/3/ foo config options. This will fix some problems where the wireless devices does not got an mac address and the following message was show: ssb: WARNING: Invalid SPROM CRC (corrupt SPROM) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.37/180-udc_preliminary_support.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.37/180-udc_preliminary_support.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.37/180-udc_preliminary_support.patch b/target/linux/brcm63xx/patches-2.6.37/180-udc_preliminary_support.patch
index 2f6a27e06a..6011db71e2 100644
--- a/target/linux/brcm63xx/patches-2.6.37/180-udc_preliminary_support.patch
+++ b/target/linux/brcm63xx/patches-2.6.37/180-udc_preliminary_support.patch
@@ -17,7 +17,7 @@
};
static struct board_info __initdata board_rta1025w_16 = {
-@@ -1001,6 +1004,9 @@ int __init board_register_devices(void)
+@@ -1002,6 +1005,9 @@ int __init board_register_devices(void)
if (board.has_dsp)
bcm63xx_dsp_register(&board.dsp);
@@ -214,7 +214,7 @@
* SPI clock
*/
static void spi_set(struct clk *clk, int enable)
-@@ -208,6 +232,8 @@ struct clk *clk_get(struct device *dev,
+@@ -208,6 +232,8 @@ struct clk *clk_get(struct device *dev,
return &clk_ephy;
if (!strcmp(id, "usbh"))
return &clk_usbh;