amd/olivehillplus: No global variables for romstage
These functions are only used for ramstage. Change-Id: I089230ca625037637c7af061b0939fd981dbdfd2 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7148 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
30fbb4c23e
commit
a4c370a3e0
|
@ -46,16 +46,18 @@ VOID FchInitS3EarlyRestore (IN FCH_DATA_BLOCK *FchDataPtr);
|
||||||
|
|
||||||
#define FILECODE UNASSIGNED_FILE_FILECODE
|
#define FILECODE UNASSIGNED_FILE_FILECODE
|
||||||
|
|
||||||
|
#ifndef __PRE_RAM__
|
||||||
/* ACPI table pointers returned by AmdInitLate */
|
/* ACPI table pointers returned by AmdInitLate */
|
||||||
VOID *DmiTable = NULL;
|
static void *DmiTable = NULL;
|
||||||
VOID *AcpiPstate = NULL;
|
static void *AcpiPstate = NULL;
|
||||||
VOID *AcpiSrat = NULL;
|
static void *AcpiSrat = NULL;
|
||||||
VOID *AcpiSlit = NULL;
|
static void *AcpiSlit = NULL;
|
||||||
|
|
||||||
VOID *AcpiWheaMce = NULL;
|
static void *AcpiWheaMce = NULL;
|
||||||
VOID *AcpiWheaCmc = NULL;
|
static void *AcpiWheaCmc = NULL;
|
||||||
VOID *AcpiAlib = NULL;
|
static void *AcpiAlib = NULL;
|
||||||
VOID *AcpiIvrs = NULL;
|
static void *AcpiIvrs = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
AGESA_STATUS agesawrapper_amdinitcpuio(void)
|
AGESA_STATUS agesawrapper_amdinitcpuio(void)
|
||||||
{
|
{
|
||||||
|
@ -287,6 +289,7 @@ AGESA_STATUS agesawrapper_amdinitenv(void)
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __PRE_RAM__
|
||||||
VOID* agesawrapper_getlateinitptr (int pick)
|
VOID* agesawrapper_getlateinitptr (int pick)
|
||||||
{
|
{
|
||||||
switch (pick) {
|
switch (pick) {
|
||||||
|
@ -310,6 +313,7 @@ VOID* agesawrapper_getlateinitptr (int pick)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
AGESA_STATUS agesawrapper_amdinitmid(void)
|
AGESA_STATUS agesawrapper_amdinitmid(void)
|
||||||
{
|
{
|
||||||
|
@ -341,6 +345,7 @@ AGESA_STATUS agesawrapper_amdinitmid(void)
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __PRE_RAM__
|
||||||
AGESA_STATUS agesawrapper_amdinitlate(void)
|
AGESA_STATUS agesawrapper_amdinitlate(void)
|
||||||
{
|
{
|
||||||
AGESA_STATUS Status;
|
AGESA_STATUS Status;
|
||||||
|
@ -389,6 +394,7 @@ AGESA_STATUS agesawrapper_amdinitlate(void)
|
||||||
/* AmdReleaseStruct (&AmdParamStruct); */
|
/* AmdReleaseStruct (&AmdParamStruct); */
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
AGESA_STATUS agesawrapper_amdlaterunaptask (
|
AGESA_STATUS agesawrapper_amdlaterunaptask (
|
||||||
UINT32 Func,
|
UINT32 Func,
|
||||||
|
|
Loading…
Reference in New Issue