u-boot/post/lib_ppc
Yuri Tikhonov 928d1d77f8 Fix CPU POST test failure
The CPU POST test code (run from cpu_post_exec_31()) doesn't follow the
ABI carefully, at least the CR3, CR4, and CR5 fields of CR are clobbered
by it. The gcc-4.2 with its more aggressive optimization exposes this fact.
This patch just saves the CR value before running the test code, so allowing
it to do anything it wants with CR.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Acked-by: Yuri Tikhonov <yur@emcraft.com>
--
2008-02-21 11:25:47 +01:00
..
fpu Merged POST framework with the current TOT. 2007-07-05 08:17:37 +02:00
andi.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
asm.S Fix CPU POST test failure 2008-02-21 11:25:47 +01:00
b.c Extend POST support for PPC440 2007-06-22 23:21:01 +02:00
cmp.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
cmpi.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
complex.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
cpu.c ppc4xx: Enable CPU POST test for 4xx with dcache enabled 2007-10-31 21:21:47 +01:00
cpu_asm.h Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
cr.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
load.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
Makefile Merged POST framework with the current TOT. 2007-07-05 08:17:37 +02:00
multi.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
rlwimi.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
rlwinm.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
rlwnm.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
srawi.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
store.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
string.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
three.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
threei.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
threex.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
two.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
twox.c Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00