[U-Boot] [PATCH] mpc8[5/6]xx: Ensure POST word does not get reset

Kumar Gala galak at kernel.crashing.org
Sun Mar 13 17:44:13 CET 2011


On Mar 10, 2011, at 4:09 PM, Peter Tyser wrote:

> From: John Schmoller <jschmoller at xes-inc.com>
> 
> 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 at xes-inc.com>
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---
> This is a bugfix, so it'd be nice if it made it into the upcoming release
> if possible.
> 
> arch/powerpc/cpu/mpc85xx/interrupts.c |   16 ++++++++++++++++
> arch/powerpc/cpu/mpc86xx/interrupts.c |   16 ++++++++++++++++
> 2 files changed, 32 insertions(+), 0 deletions(-)

applied

- k


More information about the U-Boot mailing list