diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-12-14 19:30:51 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-12-20 07:24:41 +0100 |
commit | 94e796aae667bec0fdb1a6ed16b01d0174811b15 (patch) | |
tree | 0c97f4e63ae0d71c3babed0967cc38473a6a323f /src/northbridge/amd | |
parent | 25c27359d183e6bacf1a4a1a30efe0f3b75946f0 (diff) |
AGESA fam15: Unify agesawrapper
Disable TSC output for now.
Change-Id: I078b4f0170aaf0ada58e464cf609c234204f8196
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/7822
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r-- | src/northbridge/amd/agesa/family15/agesawrapper.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/northbridge/amd/agesa/family15/agesawrapper.c b/src/northbridge/amd/agesa/family15/agesawrapper.c index 44fd448532..9b62d3fac8 100644 --- a/src/northbridge/amd/agesa/family15/agesawrapper.c +++ b/src/northbridge/amd/agesa/family15/agesawrapper.c @@ -32,7 +32,6 @@ #include "amdlib.h" #include "Filecode.h" #include "heapManager.h" -#include <cpuFamilyTranslation.h> /* CPU_SPECIFIC_SERVICES */ #define FILECODE UNASSIGNED_FILE_FILECODE @@ -87,8 +86,6 @@ AGESA_STATUS agesawrapper_amdinitearly(void) AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; AMD_EARLY_PARAMS *AmdEarlyParamsPtr; - UINT32 TscRateInMhz; - CPU_SPECIFIC_SERVICES *FamilySpecificServices; memset(&AmdParamStruct, 0, sizeof(AMD_INTERFACE_PARAMS)); @@ -109,11 +106,6 @@ AGESA_STATUS agesawrapper_amdinitearly(void) status = AmdInitEarly(AmdEarlyParamsPtr); AGESA_EVENTLOG(status, &AmdParamStruct.StdHeader); - GetCpuServicesOfCurrentCore((CONST CPU_SPECIFIC_SERVICES **) & FamilySpecificServices, - &AmdParamStruct.StdHeader); - FamilySpecificServices->GetTscRate(FamilySpecificServices, &TscRateInMhz, &AmdParamStruct.StdHeader); - printk(BIOS_DEBUG, "BSP Frequency: %uMHz\n", (unsigned int)TscRateInMhz); - AmdReleaseStruct(&AmdParamStruct); return status; } @@ -123,8 +115,6 @@ AGESA_STATUS agesawrapper_amdinitpost(void) AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; AMD_POST_PARAMS *PostParams; - UINT32 TscRateInMhz; - CPU_SPECIFIC_SERVICES *FamilySpecificServices; memset(&AmdParamStruct, 0, sizeof(AMD_INTERFACE_PARAMS)); @@ -150,11 +140,6 @@ AGESA_STATUS agesawrapper_amdinitpost(void) /* Initialize heap space */ EmptyHeap(); - GetCpuServicesOfCurrentCore((CONST CPU_SPECIFIC_SERVICES **) & FamilySpecificServices, - &AmdParamStruct.StdHeader); - FamilySpecificServices->GetTscRate(FamilySpecificServices, &TscRateInMhz, &AmdParamStruct.StdHeader); - printk(BIOS_DEBUG, "BSP Frequency: %uMHz\n", (unsigned int)TscRateInMhz); - return status; } |