summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-10-20 01:17:34 -0500
committerMartin Roth <martinroth@google.com>2015-11-02 23:37:54 +0100
commitd150006c4a4584bc9933c2d8ff580a54c4f0cc2a (patch)
tree7796a146999613bccc7656f2fc04f579bc81ebdb
parentb30d7ed8f09d4d5d75bf68f3ba74674fe65c4b4f (diff)
downloadcoreboot-d150006c4a4584bc9933c2d8ff580a54c4f0cc2a.tar.xz
cpu/amd/family_10h-family_15h: Use correct label for break state
Change-Id: I07e517f239807cbe76037308f0beff80c9a6f2ba Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/12101 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins)
-rw-r--r--src/cpu/amd/family_10h-family_15h/fidvid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/amd/family_10h-family_15h/fidvid.c b/src/cpu/amd/family_10h-family_15h/fidvid.c
index ce632765b4..3fac165f52 100644
--- a/src/cpu/amd/family_10h-family_15h/fidvid.c
+++ b/src/cpu/amd/family_10h-family_15h/fidvid.c
@@ -856,7 +856,7 @@ static void init_fidvid_bsp_stage1(u32 ap_apicid, void *gp)
while (--loop > 0) {
if (lapic_remote_read(ap_apicid, LAPIC_MSG_REG, &readback) != 0)
continue;
- if ((readback & 0x3f) == 1) {
+ if ((readback & 0x3f) == F10_APSTATE_RESET) {
timeout = 0;
break; /* target ap is in stage 1 */
}