gizmosphere/gizmo: Switch away from AGESA_LEGACY_WRAPPER
Change-Id: I26e2450babfde1580e0e794c519344112d4019ee Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/19148 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
5dcf5f666f
commit
d56345b77e
|
@ -18,7 +18,6 @@ if BOARD_GIZMOSPHERE_GIZMO
|
||||||
|
|
||||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
def_bool y
|
def_bool y
|
||||||
select AGESA_LEGACY_WRAPPER
|
|
||||||
select CPU_AMD_AGESA_FAMILY14
|
select CPU_AMD_AGESA_FAMILY14
|
||||||
select NORTHBRIDGE_AMD_AGESA_FAMILY14
|
select NORTHBRIDGE_AMD_AGESA_FAMILY14
|
||||||
select SOUTHBRIDGE_AMD_CIMX_SB800
|
select SOUTHBRIDGE_AMD_CIMX_SB800
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "Filecode.h"
|
#include "Filecode.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/state_machine.h>
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
**/
|
**/
|
||||||
/*---------------------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
static AGESA_STATUS OemInitEarly(AMD_EARLY_PARAMS * InitEarly)
|
void board_BeforeInitEarly(struct sysinfo *cb, AMD_EARLY_PARAMS *InitEarly)
|
||||||
{
|
{
|
||||||
AGESA_STATUS Status;
|
AGESA_STATUS Status;
|
||||||
VOID *BrazosPcieComplexListPtr;
|
VOID *BrazosPcieComplexListPtr;
|
||||||
|
@ -137,7 +137,6 @@ PCIe_COMPLEX_DESCRIPTOR Brazos = {
|
||||||
|
|
||||||
InitEarly->GnbConfig.PcieComplexList = BrazosPcieComplexListPtr;
|
InitEarly->GnbConfig.PcieComplexList = BrazosPcieComplexListPtr;
|
||||||
InitEarly->GnbConfig.PsppPolicy = 0;
|
InitEarly->GnbConfig.PsppPolicy = 0;
|
||||||
return AGESA_SUCCESS;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------------------
|
/*----------------------------------------------------------------------------------------
|
||||||
|
@ -151,7 +150,7 @@ PCIe_COMPLEX_DESCRIPTOR Brazos = {
|
||||||
* is populated, AGESA will base its settings on the data from the table. Otherwise, it will
|
* is populated, AGESA will base its settings on the data from the table. Otherwise, it will
|
||||||
* use its default conservative settings.
|
* use its default conservative settings.
|
||||||
*/
|
*/
|
||||||
CONST PSO_ENTRY ROMDATA DefaultPlatformMemoryConfiguration[] = {
|
static CONST PSO_ENTRY ROMDATA PlatformMemoryTable[] = {
|
||||||
|
|
||||||
NUMBER_OF_DIMMS_SUPPORTED (ANY_SOCKET, ANY_CHANNEL, TWO_DIMM),
|
NUMBER_OF_DIMMS_SUPPORTED (ANY_SOCKET, ANY_CHANNEL, TWO_DIMM),
|
||||||
NUMBER_OF_CHANNELS_SUPPORTED (ANY_SOCKET, ONE_DIMM),
|
NUMBER_OF_CHANNELS_SUPPORTED (ANY_SOCKET, ONE_DIMM),
|
||||||
|
@ -168,6 +167,7 @@ CONST PSO_ENTRY ROMDATA DefaultPlatformMemoryConfiguration[] = {
|
||||||
PSO_END
|
PSO_END
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct OEM_HOOK OemCustomize = {
|
void board_BeforeInitPost(struct sysinfo *cb, AMD_POST_PARAMS *InitPost)
|
||||||
.InitEarly = OemInitEarly,
|
{
|
||||||
};
|
InitPost->MemConfig.PlatformMemoryConfiguration = (PSO_ENTRY *)PlatformMemoryTable;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue