aboutsummaryrefslogtreecommitdiffstats
path: root/src/vendorcode
diff options
context:
space:
mode:
authorSergej Ivanov <getinaks@gmail.com>2015-04-03 16:53:49 +0300
committerDave Frodin <dave.frodin@se-eng.com>2015-04-10 15:29:24 +0200
commitc294d702dc74cac6ac9fae8d05f1c1fc036f0b79 (patch)
treeb2934de2a52fac97f49146dde1e154c0fec4eaa2 /src/vendorcode
parentf687c92c9b86b8f1e2a48d2cdf16383587d33e68 (diff)
downloadcoreboot-c294d702dc74cac6ac9fae8d05f1c1fc036f0b79.tar.gz
coreboot-c294d702dc74cac6ac9fae8d05f1c1fc036f0b79.tar.xz
coreboot-c294d702dc74cac6ac9fae8d05f1c1fc036f0b79.zip
vendorcode/amd/agesa/f16kb: Enable support for AM1 socket
Adds option FORCE_AM1_SOCKET_SUPPORT to disable package type mismatch check between cpu and northbridge. Default agesa for kabini doesn't know about AM1 socket so it returns FALSE, that stops memory config code. With this hack current agesa version supports the AM1 socket. Change-Id: I99e9cec5cd558087092cf195094df20489f6d3b5 Signed-off-by: Sergej Ivanov <getinaks@gmail.com> Reviewed-on: http://review.coreboot.org/9291 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Dave Frodin <dave.frodin@se-eng.com>
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/amd/agesa/f16kb/Proc/Mem/Ps/mp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vendorcode/amd/agesa/f16kb/Proc/Mem/Ps/mp.c b/src/vendorcode/amd/agesa/f16kb/Proc/Mem/Ps/mp.c
index 348f7041e..b4a60a120 100644
--- a/src/vendorcode/amd/agesa/f16kb/Proc/Mem/Ps/mp.c
+++ b/src/vendorcode/amd/agesa/f16kb/Proc/Mem/Ps/mp.c
@@ -489,7 +489,10 @@ MemPIsIdSupported (
return TRUE;
}
}
- return FALSE;
+ if (IS_ENABLED(CONFIG_FORCE_AM1_SOCKET_SUPPORT))
+ return TRUE;
+ else
+ return FALSE;
}
/* -----------------------------------------------------------------------------*/