Skip to contentSkip to conversation

correct machine check reason in cpu/mpc5xxx/traps.c

PATCH New Reinhard Meyer 2 participants 2 messages Feb 14, 2004 – Feb 23, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: uboot_mpc5200.patch
Type: application/octet-stream
Size: 1333 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040214/34a9b521/attachment.obj

#1 lore raw

PATCH 1/1 correct machine check reason in cpu/mpc5xxx/traps.c

Quoted 4 lines · In message <[email protected]> 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.

Quoted 1 line

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

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
In 1750 Issac Newton became discouraged when he fell up a  flight  of
stairs.