]> git.sur5r.net Git - u-boot/commit
mpc8[5/6]xx: Ensure POST word does not get reset
authorJohn Schmoller <jschmoller@xes-inc.com>
Thu, 10 Mar 2011 22:09:26 +0000 (16:09 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Sun, 13 Mar 2011 16:24:44 +0000 (11:24 -0500)
commitcc1dd33f273f8c96cbd7539b4a2d1d7aa12773cd
tree1f6094113165e0f143b233f054416dbd67b68c9c
parentb71ea33699bb694964929e2cdced80ef794bde69
mpc8[5/6]xx: Ensure POST word does not get reset

The POST word is stored in a spare register in the PIC on MPC8[5/6]xx
processors.  When interrupt_init() is called, this register gets reset
which resulted in all POST_RAM POSTs not being ran due to the corrupted
POST word.  To resolve this, store off POST word before the PIC is
reset, and restore it after the PIC has been initialized.

Signed-off-by: John Schmoller <jschmoller@xes-inc.com>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/interrupts.c
arch/powerpc/cpu/mpc86xx/interrupts.c