diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2011-11-21 08:16:20 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2011-11-22 11:17:07 +0100 |
commit | 2a40ebca9c21c527afd683beeec51a5fa5a77588 (patch) | |
tree | 0a4e9ee503da1ee5d8e232dd807d89ba2eafca57 /src/cpu/x86/16bit | |
parent | b9136ed8473e610d5532254984a440c1690d0af9 (diff) | |
download | coreboot-2a40ebca9c21c527afd683beeec51a5fa5a77588.tar.xz |
Fix post_code in 16bit entry
Relocate early post_code() so it gets executed and does not corrupt
BIST at %eax.
Change-Id: Ieeebcb23f7c327e501b410eaa60d1e49110ee988
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/439
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/cpu/x86/16bit')
-rw-r--r-- | src/cpu/x86/16bit/entry16.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/x86/16bit/entry16.inc b/src/cpu/x86/16bit/entry16.inc index 9f4c0e38da..9b7b69c4b7 100644 --- a/src/cpu/x86/16bit/entry16.inc +++ b/src/cpu/x86/16bit/entry16.inc @@ -36,6 +36,8 @@ _start: /* Save the BIST result */ movl %eax, %ebp + post_code(POST_RESET_VECTOR_CORRECT) + /* thanks to kmliu@sis.tw.com for this TBL fix ... */ /**/ /* IMMEDIATELY invalidate the translation lookaside buffer before executing*/ |