[U-Boot-Users] [Patch] correct machine check reason in cpu/mpc5xxx/traps.c

This patch corrects the reason printout on machine check exceptions for the 603e processor in the MPC5200. It is the PowerPC numbered bits 12 to 15 that should be tested, not the bits 2**12 to 2**15.
A similiar change could be appropriate for other 603e based MPCs...
Changelog: * patch by Reinhard Meyer, 14 Feb 2004 Corrected tested bits in machine check exception in cpu/mpc5xxx/traps.c

In message 017901c3f303$d9d5e130$644ba8c0@alb.sub.de you wrote:
This patch corrects the reason printout on machine check exceptions for the 603e processor in the MPC5200. It is the PowerPC numbered bits 12 to 15 that should be tested, not the bits 2**12 to 2**15.
Added, thanks.
A similiar change could be appropriate for other 603e based MPCs...
Indeed. It seems everybody just copied the old Linux kernel code around.
Best regards,
Wolfgang Denk
participants (2)
-
Reinhard Meyer
-
Wolfgang Denk