1
0
Fork 0
remarkable-uboot/post
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
..
board ppc4xx: Fix lwmon5 compilation problem 2007-12-27 19:35:34 +01:00
cpu ppc4xx: Refactor ECC POST for AMCC Denali core 2008-01-16 11:23:33 +01:00
drivers POST: limit memory test area to not touch global data anymore 2007-08-25 05:07:16 +02:00
lib_ppc Fix CPU POST test failure 2008-02-21 11:25:47 +01:00
Makefile Restructure POST directory to support of other CPUs, boards, etc. 2007-03-06 18:08:43 +01:00
post.c make show_boot_progress () weak. 2007-07-13 09:54:17 +02:00
rules.mk Move "ar" flags to config.mk to allow for silent "make -s" 2006-10-09 01:02:05 +02:00
tests.c Add attribute POST_PREREL to ECC memory POST 2008-02-07 00:22:59 +01:00