- fix for BCM6538 boards
- fix RB532 PCI workaround -----BEGIN PGP SIGNATURE----- iQJOBAABCAA4FiEEbt46xwy6kEcDOXoUeZbBVTGwZHAFAmZyu3MaHHRzYm9nZW5k QGFscGhhLmZyYW5rZW4uZGUACgkQeZbBVTGwZHCHmxAAiKDE53INrgcBRCXD0x7N JJpgjL6CsjDfTGKZxcBEgwWAyqwJomgIy6bqDGw5/x5ztMlSSYq08wkpXDozUIxl rvEWOovp7ZIhjW8AFx/v/cB1AXSWWxQAbfDRM7GJbAAebVZ23ul3Af7AWYDMGS14 I3Po2t2xzisaRW4V07fgW9O0uFu/3+JTAyzpvPf+lzq39ChIdpFfiZ1hkoLul8WU y6zeO4y3nfl29Qflj4IuWYFmiWIANDKJMpb2m/Yt12O2FSZ+2ST5TnSTyPxWK6E0 KrW0fWJXyK2/ahUh7/meSiYHdmAAyNIj3YRxFLtcif4ZJWMKwhTZ+E6VvTbjFvm7 tNNW/iqsGDFClA4LsQoLYkRIbAiU5LufjQE8M8f1dy6gSU+3WFerh5c+OCuAhhPX CdOHMDNSTnkA6Np1z0anyO025G/AiXA3+hrpxG9p969QrRALmZYT95X0EdHI2g6R P1eVr6mnCHkjUBpUXzFwKFc1wMSAnPqYkxk6ZN/0CxBLND0+7GwkaLLnKkhobmdd NS8+Jb/fLZmJkG+5MrI8fBvp2vi9ASdz/4zB+Pt3bqciT7JggwUJ1NjueP75cxVW Sz27EdO8SD/Wo5sKaRbp5IM6k+ijbUkQ5MhSQZ9fs1YT+PpVpbCbEY++valDrt3q AI/RG2L3LOdbJsqkhcCsgZA= =Yh+w -----END PGP SIGNATURE----- Merge tag 'mips-fixes_6.10_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux Pull MIPS fixes from Thomas Bogendoerfer: - fix for BCM6538 boards - fix RB532 PCI workaround * tag 'mips-fixes_6.10_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: Revert "MIPS: pci: lantiq: restore reset gpio polarity" mips: bmips: BCM6358: make sure CBR is correctly set MIPS: pci: lantiq: restore reset gpio polarity MIPS: Routerboard 532: Fix vendor retry check code
This commit is contained in:
commit
6785e3cc09
@ -110,7 +110,8 @@ static void bcm6358_quirks(void)
|
|||||||
* RAC flush causes kernel panics on BCM6358 when booting from TP1
|
* RAC flush causes kernel panics on BCM6358 when booting from TP1
|
||||||
* because the bootloader is not initializing it properly.
|
* because the bootloader is not initializing it properly.
|
||||||
*/
|
*/
|
||||||
bmips_rac_flush_disable = !!(read_c0_brcm_cmt_local() & (1 << 31));
|
bmips_rac_flush_disable = !!(read_c0_brcm_cmt_local() & (1 << 31)) ||
|
||||||
|
!!BMIPS_GET_CBR();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void bcm6368_quirks(void)
|
static void bcm6368_quirks(void)
|
||||||
|
@ -112,8 +112,8 @@ retry:
|
|||||||
* gives them time to settle
|
* gives them time to settle
|
||||||
*/
|
*/
|
||||||
if (where == PCI_VENDOR_ID) {
|
if (where == PCI_VENDOR_ID) {
|
||||||
if (ret == 0xffffffff || ret == 0x00000000 ||
|
if (*val == 0xffffffff || *val == 0x00000000 ||
|
||||||
ret == 0x0000ffff || ret == 0xffff0000) {
|
*val == 0x0000ffff || *val == 0xffff0000) {
|
||||||
if (delay > 4)
|
if (delay > 4)
|
||||||
return 0;
|
return 0;
|
||||||
delay *= 2;
|
delay *= 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user