[U-Boot-Users] Small fix to machine check prevention during PCI scans

Fix to the prevention of machine checks during a PCI scan. The old code worked because the error status register would be set only if there was an error on the PCI Brad
Index: cpu/mpc8260/traps.c =================================================================== RCS file: /cvsroot/u-boot/u-boot/cpu/mpc8260/traps.c,v retrieving revision 1.3 diff -u -b -B -r1.3 traps.c --- cpu/mpc8260/traps.c 23 Feb 2004 22:22:31 -0000 1.3 +++ cpu/mpc8260/traps.c 18 Mar 2004 18:47:37 -0000 @@ -140,7 +140,7 @@ dump_pci(); #endif /* clear the error in the error status register */ - if(immap->im_pci.pci_esr && cpu_to_le32(PCI_ERROR_PCI_NO_RSP)) { + if(immap->im_pci.pci_esr & cpu_to_le32(PCI_ERROR_PCI_NO_RSP)) { immap->im_pci.pci_esr = cpu_to_le32(PCI_ERROR_PCI_NO_RSP); return; }

In message CFE1C3BDE1264C4D9E569E89B3AF8FA86C52CA@grubber.seranoa.com you wrote:
Fix to the prevention of machine checks during a PCI scan.
Thanks, added.
Best regards,
Wolfgang Denk
participants (2)
-
Brad Kemp
-
Wolfgang Denk