From: Hauke Mehrtens Date: Thu, 14 Aug 2014 21:23:36 +0000 (+0000) Subject: BB: brcm47xx: fix brcm47xx.legacy build X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=cd55ae74ad6cf432fc77fb10badc488874509f27 BB: brcm47xx: fix brcm47xx.legacy build we should check for ssb here. backport of r42164. Signed-off-by: Hauke Mehrtens SVN-Revision: 42166 --- diff --git a/target/linux/brcm47xx/patches-3.10/144-make-reboot-more-reliable.patch b/target/linux/brcm47xx/patches-3.10/144-make-reboot-more-reliable.patch index f1a343a0cc..50431de040 100644 --- a/target/linux/brcm47xx/patches-3.10/144-make-reboot-more-reliable.patch +++ b/target/linux/brcm47xx/patches-3.10/144-make-reboot-more-reliable.patch @@ -25,10 +25,10 @@ Signed-off-by: Hauke Mehrtens switch (bcm47xx_bus_type) { #ifdef CONFIG_BCM47XX_SSB case BCM47XX_BUS_TYPE_SSB: -+ if (bcm47xx_bus.bcma.bus.chipinfo.id == 0x4785) ++ if (bcm47xx_bus.ssb.chip_id == 0x4785) + write_c0_diag4(1 << 22); ssb_watchdog_timer_set(&bcm47xx_bus.ssb, 1); -+ if (bcm47xx_bus.bcma.bus.chipinfo.id == 0x4785) { ++ if (bcm47xx_bus.ssb.chip_id == 0x4785) { + __asm__ __volatile__( + ".set\tmips3\n\t" + "sync\n\t"