mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 07:26:17 +02:00
288f3f6650
* update the flash driver for bcm47xx to use the stubs already in bcma * do some misc enhancements to the flash drivers for bcm47xx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33920 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
310 B
Diff
12 lines
310 B
Diff
--- a/arch/mips/bcm47xx/setup.c
|
|
+++ b/arch/mips/bcm47xx/setup.c
|
|
@@ -206,6 +206,8 @@ static int bcm47xx_get_sprom_bcma(struct
|
|
snprintf(prefix, sizeof(prefix), "sb/%u/",
|
|
core->core_index);
|
|
bcm47xx_fill_sprom(out, prefix);
|
|
+ } else {
|
|
+ bcm47xx_fill_sprom(out, NULL);
|
|
}
|
|
return 0;
|
|
default:
|