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>
This commit is contained in:
Sergej Ivanov 2015-04-03 16:53:49 +03:00 committed by Dave Frodin
parent f687c92c9b
commit c294d702dc
2 changed files with 15 additions and 1 deletions

View File

@ -62,4 +62,15 @@ config HIGH_SCRATCH_MEMORY_SIZE
# Assume the maximum size of stack as (0xA0000 - 0x30000 + 0x1000)
default 0xA1000
config FORCE_AM1_SOCKET_SUPPORT
bool
default n
help
Force AGESA to ignore package type mismatch between CPU and northbridge
in memory code. This enables Socket AM1 support with current AGESA
version for Kabini platform.
Enable this option only if you have Socket AM1 board.
Note that the AGESA release shipped with coreboot does not officially
support the AM1 socket. Selecting this option might damage your hardware.
endif

View File

@ -489,6 +489,9 @@ MemPIsIdSupported (
return TRUE;
}
}
if (IS_ENABLED(CONFIG_FORCE_AM1_SOCKET_SUPPORT))
return TRUE;
else
return FALSE;
}