aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-2.6.38/400-arch-bcm47xx.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-05-01 20:28:35 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-05-01 20:28:35 +0000
commit3dbb8c508869d29076284ae01dbbaa9450dcf6d6 (patch)
treed0cf963c310ad56cef3b2cc816928de3f85c3b33 /target/linux/brcm47xx/patches-2.6.38/400-arch-bcm47xx.patch
parent28fb716737c4d45d977d2d19c3d9d73b781b7597 (diff)
downloadupstream-3dbb8c508869d29076284ae01dbbaa9450dcf6d6.tar.gz
upstream-3dbb8c508869d29076284ae01dbbaa9450dcf6d6.tar.bz2
upstream-3dbb8c508869d29076284ae01dbbaa9450dcf6d6.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) SVN-Revision: 26801
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.38/400-arch-bcm47xx.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.38/400-arch-bcm47xx.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.38/400-arch-bcm47xx.patch b/target/linux/brcm47xx/patches-2.6.38/400-arch-bcm47xx.patch
index abb2044f78..5ccb62fc6f 100644
--- a/target/linux/brcm47xx/patches-2.6.38/400-arch-bcm47xx.patch
+++ b/target/linux/brcm47xx/patches-2.6.38/400-arch-bcm47xx.patch
@@ -33,7 +33,7 @@
+EXPORT_SYMBOL(nvram_get);
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
-@@ -226,3 +226,20 @@ void __init plat_mem_setup(void)
+@@ -311,3 +311,20 @@ void __init plat_mem_setup(void)
_machine_halt = bcm47xx_machine_halt;
pm_power_off = bcm47xx_machine_halt;
}