From c294d702dc74cac6ac9fae8d05f1c1fc036f0b79 Mon Sep 17 00:00:00 2001 From: Sergej Ivanov Date: Fri, 3 Apr 2015 16:53:49 +0300 Subject: 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 Reviewed-on: http://review.coreboot.org/9291 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Dave Frodin --- src/vendorcode/amd/agesa/f16kb/Proc/Mem/Ps/mp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/vendorcode') 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 348f7041e1..b4a60a1201 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; } /* -----------------------------------------------------------------------------*/ -- cgit v1.2.3