diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-05-04 14:53:36 +0300 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-05-05 08:53:57 +0200 |
commit | 08df7326e6bd39d14d32091fb773f701faf77bc3 (patch) | |
tree | 3ba8468844c9a2b73d83e344c23124214c764360 /src/mainboard/amd | |
parent | 088fd67a38c7030ef0e6434472d64a3607c29100 (diff) |
AGESA: Fix BiosCallouts table formatting
Already done for fam15tn and fam16kb.
Change-Id: I3da36bfe6fd1805867eee5aa1f017c4fda084349
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5660
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r-- | src/mainboard/amd/dinar/BiosCallOuts.c | 64 | ||||
-rw-r--r-- | src/mainboard/amd/inagua/BiosCallOuts.c | 59 | ||||
-rw-r--r-- | src/mainboard/amd/persimmon/BiosCallOuts.c | 59 | ||||
-rw-r--r-- | src/mainboard/amd/south_station/BiosCallOuts.c | 59 | ||||
-rw-r--r-- | src/mainboard/amd/torpedo/BiosCallOuts.c | 64 | ||||
-rw-r--r-- | src/mainboard/amd/union_station/BiosCallOuts.c | 59 |
6 files changed, 74 insertions, 290 deletions
diff --git a/src/mainboard/amd/dinar/BiosCallOuts.c b/src/mainboard/amd/dinar/BiosCallOuts.c index 47bf9623c3..c7b9409151 100644 --- a/src/mainboard/amd/dinar/BiosCallOuts.c +++ b/src/mainboard/amd/dinar/BiosCallOuts.c @@ -88,57 +88,19 @@ static void restore_socket(void) STATIC BIOS_CALLOUT_STRUCT BiosCallouts[] = { - {AGESA_ALLOCATE_BUFFER, - BiosAllocateBuffer - }, - - {AGESA_DEALLOCATE_BUFFER, - BiosDeallocateBuffer - }, - - {AGESA_DO_RESET, - BiosReset - }, - - {AGESA_LOCATE_BUFFER, - BiosLocateBuffer - }, - - {AGESA_READ_SPD, - BiosReadSpd - }, - - {AGESA_READ_SPD_RECOVERY, - BiosDefaultRet - }, - - {AGESA_RUNFUNC_ONAP, - BiosRunFuncOnAp - }, - - {AGESA_GNB_PCIE_SLOT_RESET, - BiosGnbPcieSlotReset - }, - - {AGESA_GET_IDS_INIT_DATA, - BiosGetIdsInitData - }, - - {AGESA_HOOKBEFORE_DRAM_INIT, - BiosHookBeforeDramInit - }, - - {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, - BiosHookBeforeDramInitRecovery - }, - - {AGESA_HOOKBEFORE_DQS_TRAINING, - BiosHookBeforeDQSTraining - }, - - {AGESA_HOOKBEFORE_EXIT_SELF_REF, - BiosHookBeforeExitSelfRefresh - }, + {AGESA_ALLOCATE_BUFFER, BiosAllocateBuffer }, + {AGESA_DEALLOCATE_BUFFER, BiosDeallocateBuffer }, + {AGESA_DO_RESET, BiosReset }, + {AGESA_LOCATE_BUFFER, BiosLocateBuffer}, + {AGESA_READ_SPD, BiosReadSpd }, + {AGESA_READ_SPD_RECOVERY, BiosDefaultRet }, + {AGESA_RUNFUNC_ONAP, BiosRunFuncOnAp }, + {AGESA_GNB_PCIE_SLOT_RESET, BiosGnbPcieSlotReset }, + {AGESA_GET_IDS_INIT_DATA, BiosGetIdsInitData }, + {AGESA_HOOKBEFORE_DRAM_INIT, BiosHookBeforeDramInit }, + {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, BiosHookBeforeDramInitRecovery }, + {AGESA_HOOKBEFORE_DQS_TRAINING, BiosHookBeforeDQSTraining }, + {AGESA_HOOKBEFORE_EXIT_SELF_REF, BiosHookBeforeExitSelfRefresh }, }; AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr) diff --git a/src/mainboard/amd/inagua/BiosCallOuts.c b/src/mainboard/amd/inagua/BiosCallOuts.c index b3a73f4fb4..cd80e5d7d8 100644 --- a/src/mainboard/amd/inagua/BiosCallOuts.c +++ b/src/mainboard/amd/inagua/BiosCallOuts.c @@ -26,53 +26,18 @@ STATIC BIOS_CALLOUT_STRUCT BiosCallouts[] = { - {AGESA_ALLOCATE_BUFFER, - BiosAllocateBuffer - }, - - {AGESA_DEALLOCATE_BUFFER, - BiosDeallocateBuffer - }, - - {AGESA_DO_RESET, - BiosReset - }, - - {AGESA_LOCATE_BUFFER, - BiosLocateBuffer - }, - - {AGESA_READ_SPD, - BiosReadSpd - }, - - {AGESA_READ_SPD_RECOVERY, - BiosDefaultRet - }, - - {AGESA_RUNFUNC_ONAP, - BiosRunFuncOnAp - }, - - {AGESA_GNB_PCIE_SLOT_RESET, - BiosGnbPcieSlotReset - }, - - {AGESA_HOOKBEFORE_DRAM_INIT, - BiosHookBeforeDramInit - }, - - {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, - BiosHookBeforeDramInitRecovery - }, - - {AGESA_HOOKBEFORE_DQS_TRAINING, - BiosHookBeforeDQSTraining - }, - - {AGESA_HOOKBEFORE_EXIT_SELF_REF, - BiosHookBeforeExitSelfRefresh - }, + {AGESA_ALLOCATE_BUFFER, BiosAllocateBuffer }, + {AGESA_DEALLOCATE_BUFFER, BiosDeallocateBuffer }, + {AGESA_DO_RESET, BiosReset }, + {AGESA_LOCATE_BUFFER, BiosLocateBuffer }, + {AGESA_READ_SPD, BiosReadSpd }, + {AGESA_READ_SPD_RECOVERY, BiosDefaultRet }, + {AGESA_RUNFUNC_ONAP, BiosRunFuncOnAp }, + {AGESA_GNB_PCIE_SLOT_RESET, BiosGnbPcieSlotReset }, + {AGESA_HOOKBEFORE_DRAM_INIT, BiosHookBeforeDramInit }, + {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, BiosHookBeforeDramInitRecovery }, + {AGESA_HOOKBEFORE_DQS_TRAINING, BiosHookBeforeDQSTraining }, + {AGESA_HOOKBEFORE_EXIT_SELF_REF, BiosHookBeforeExitSelfRefresh }, }; AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr) diff --git a/src/mainboard/amd/persimmon/BiosCallOuts.c b/src/mainboard/amd/persimmon/BiosCallOuts.c index 6395484b94..a771a6cf14 100644 --- a/src/mainboard/amd/persimmon/BiosCallOuts.c +++ b/src/mainboard/amd/persimmon/BiosCallOuts.c @@ -26,53 +26,18 @@ STATIC BIOS_CALLOUT_STRUCT BiosCallouts[] = { - {AGESA_ALLOCATE_BUFFER, - BiosAllocateBuffer - }, - - {AGESA_DEALLOCATE_BUFFER, - BiosDeallocateBuffer - }, - - {AGESA_DO_RESET, - BiosReset - }, - - {AGESA_LOCATE_BUFFER, - BiosLocateBuffer - }, - - {AGESA_READ_SPD, - BiosReadSpd - }, - - {AGESA_READ_SPD_RECOVERY, - BiosDefaultRet - }, - - {AGESA_RUNFUNC_ONAP, - BiosRunFuncOnAp - }, - - {AGESA_GNB_PCIE_SLOT_RESET, - BiosGnbPcieSlotReset - }, - - {AGESA_HOOKBEFORE_DRAM_INIT, - BiosHookBeforeDramInit - }, - - {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, - BiosHookBeforeDramInitRecovery - }, - - {AGESA_HOOKBEFORE_DQS_TRAINING, - BiosHookBeforeDQSTraining - }, - - {AGESA_HOOKBEFORE_EXIT_SELF_REF, - BiosHookBeforeExitSelfRefresh - }, + {AGESA_ALLOCATE_BUFFER, BiosAllocateBuffer }, + {AGESA_DEALLOCATE_BUFFER, BiosDeallocateBuffer }, + {AGESA_DO_RESET, BiosReset }, + {AGESA_LOCATE_BUFFER, BiosLocateBuffer }, + {AGESA_READ_SPD, BiosReadSpd }, + {AGESA_READ_SPD_RECOVERY, BiosDefaultRet }, + {AGESA_RUNFUNC_ONAP, BiosRunFuncOnAp }, + {AGESA_GNB_PCIE_SLOT_RESET, BiosGnbPcieSlotReset }, + {AGESA_HOOKBEFORE_DRAM_INIT, BiosHookBeforeDramInit }, + {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, BiosHookBeforeDramInitRecovery }, + {AGESA_HOOKBEFORE_DQS_TRAINING, BiosHookBeforeDQSTraining }, + {AGESA_HOOKBEFORE_EXIT_SELF_REF, BiosHookBeforeExitSelfRefresh }, }; AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr) diff --git a/src/mainboard/amd/south_station/BiosCallOuts.c b/src/mainboard/amd/south_station/BiosCallOuts.c index 5ca88540c9..00a0f58f8d 100644 --- a/src/mainboard/amd/south_station/BiosCallOuts.c +++ b/src/mainboard/amd/south_station/BiosCallOuts.c @@ -26,53 +26,18 @@ STATIC BIOS_CALLOUT_STRUCT BiosCallouts[] = { - {AGESA_ALLOCATE_BUFFER, - BiosAllocateBuffer - }, - - {AGESA_DEALLOCATE_BUFFER, - BiosDeallocateBuffer - }, - - {AGESA_DO_RESET, - BiosReset - }, - - {AGESA_LOCATE_BUFFER, - BiosLocateBuffer - }, - - {AGESA_READ_SPD, - BiosReadSpd - }, - - {AGESA_READ_SPD_RECOVERY, - BiosDefaultRet - }, - - {AGESA_RUNFUNC_ONAP, - BiosRunFuncOnAp - }, - - {AGESA_GNB_PCIE_SLOT_RESET, - BiosGnbPcieSlotReset - }, - - {AGESA_HOOKBEFORE_DRAM_INIT, - BiosHookBeforeDramInit - }, - - {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, - BiosHookBeforeDramInitRecovery - }, - - {AGESA_HOOKBEFORE_DQS_TRAINING, - BiosHookBeforeDQSTraining - }, - - {AGESA_HOOKBEFORE_EXIT_SELF_REF, - BiosHookBeforeExitSelfRefresh - }, + {AGESA_ALLOCATE_BUFFER, BiosAllocateBuffer }, + {AGESA_DEALLOCATE_BUFFER, BiosDeallocateBuffer }, + {AGESA_DO_RESET, BiosReset }, + {AGESA_LOCATE_BUFFER, BiosLocateBuffer }, + {AGESA_READ_SPD, BiosReadSpd }, + {AGESA_READ_SPD_RECOVERY, BiosDefaultRet }, + {AGESA_RUNFUNC_ONAP, BiosRunFuncOnAp }, + {AGESA_GNB_PCIE_SLOT_RESET, BiosGnbPcieSlotReset }, + {AGESA_HOOKBEFORE_DRAM_INIT, BiosHookBeforeDramInit }, + {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, BiosHookBeforeDramInitRecovery }, + {AGESA_HOOKBEFORE_DQS_TRAINING, BiosHookBeforeDQSTraining }, + {AGESA_HOOKBEFORE_EXIT_SELF_REF, BiosHookBeforeExitSelfRefresh }, }; AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr) diff --git a/src/mainboard/amd/torpedo/BiosCallOuts.c b/src/mainboard/amd/torpedo/BiosCallOuts.c index a52b8bca19..a275dc8cbf 100644 --- a/src/mainboard/amd/torpedo/BiosCallOuts.c +++ b/src/mainboard/amd/torpedo/BiosCallOuts.c @@ -39,57 +39,19 @@ STATIC BIOS_CALLOUT_STRUCT BiosCallouts[] = { - {AGESA_ALLOCATE_BUFFER, - BiosAllocateBuffer - }, - - {AGESA_DEALLOCATE_BUFFER, - BiosDeallocateBuffer - }, - - {AGESA_DO_RESET, - BiosReset - }, - - {AGESA_LOCATE_BUFFER, - BiosLocateBuffer - }, - - {AGESA_READ_SPD, - BiosReadSpd - }, - - {AGESA_READ_SPD_RECOVERY, - BiosDefaultRet - }, - - {AGESA_RUNFUNC_ONAP, - BiosRunFuncOnAp - }, - - {AGESA_GNB_PCIE_SLOT_RESET, - BiosGnbPcieSlotReset - }, - - {AGESA_GET_IDS_INIT_DATA, - BiosGetIdsInitData - }, - - {AGESA_HOOKBEFORE_DRAM_INIT, - BiosHookBeforeDramInit - }, - - {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, - BiosHookBeforeDramInitRecovery - }, - - {AGESA_HOOKBEFORE_DQS_TRAINING, - BiosHookBeforeDQSTraining - }, - - {AGESA_HOOKBEFORE_EXIT_SELF_REF, - BiosHookBeforeExitSelfRefresh - }, + {AGESA_ALLOCATE_BUFFER, BiosAllocateBuffer }, + {AGESA_DEALLOCATE_BUFFER, BiosDeallocateBuffer }, + {AGESA_DO_RESET, BiosReset }, + {AGESA_LOCATE_BUFFER, BiosLocateBuffer }, + {AGESA_READ_SPD, BiosReadSpd }, + {AGESA_READ_SPD_RECOVERY, BiosDefaultRet }, + {AGESA_RUNFUNC_ONAP, BiosRunFuncOnAp }, + {AGESA_GNB_PCIE_SLOT_RESET, BiosGnbPcieSlotReset }, + {AGESA_GET_IDS_INIT_DATA, BiosGetIdsInitData }, + {AGESA_HOOKBEFORE_DRAM_INIT, BiosHookBeforeDramInit }, + {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, BiosHookBeforeDramInitRecovery }, + {AGESA_HOOKBEFORE_DQS_TRAINING, BiosHookBeforeDQSTraining }, + {AGESA_HOOKBEFORE_EXIT_SELF_REF, BiosHookBeforeExitSelfRefresh }, }; AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr) diff --git a/src/mainboard/amd/union_station/BiosCallOuts.c b/src/mainboard/amd/union_station/BiosCallOuts.c index 5ca88540c9..00a0f58f8d 100644 --- a/src/mainboard/amd/union_station/BiosCallOuts.c +++ b/src/mainboard/amd/union_station/BiosCallOuts.c @@ -26,53 +26,18 @@ STATIC BIOS_CALLOUT_STRUCT BiosCallouts[] = { - {AGESA_ALLOCATE_BUFFER, - BiosAllocateBuffer - }, - - {AGESA_DEALLOCATE_BUFFER, - BiosDeallocateBuffer - }, - - {AGESA_DO_RESET, - BiosReset - }, - - {AGESA_LOCATE_BUFFER, - BiosLocateBuffer - }, - - {AGESA_READ_SPD, - BiosReadSpd - }, - - {AGESA_READ_SPD_RECOVERY, - BiosDefaultRet - }, - - {AGESA_RUNFUNC_ONAP, - BiosRunFuncOnAp - }, - - {AGESA_GNB_PCIE_SLOT_RESET, - BiosGnbPcieSlotReset - }, - - {AGESA_HOOKBEFORE_DRAM_INIT, - BiosHookBeforeDramInit - }, - - {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, - BiosHookBeforeDramInitRecovery - }, - - {AGESA_HOOKBEFORE_DQS_TRAINING, - BiosHookBeforeDQSTraining - }, - - {AGESA_HOOKBEFORE_EXIT_SELF_REF, - BiosHookBeforeExitSelfRefresh - }, + {AGESA_ALLOCATE_BUFFER, BiosAllocateBuffer }, + {AGESA_DEALLOCATE_BUFFER, BiosDeallocateBuffer }, + {AGESA_DO_RESET, BiosReset }, + {AGESA_LOCATE_BUFFER, BiosLocateBuffer }, + {AGESA_READ_SPD, BiosReadSpd }, + {AGESA_READ_SPD_RECOVERY, BiosDefaultRet }, + {AGESA_RUNFUNC_ONAP, BiosRunFuncOnAp }, + {AGESA_GNB_PCIE_SLOT_RESET, BiosGnbPcieSlotReset }, + {AGESA_HOOKBEFORE_DRAM_INIT, BiosHookBeforeDramInit }, + {AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, BiosHookBeforeDramInitRecovery }, + {AGESA_HOOKBEFORE_DQS_TRAINING, BiosHookBeforeDQSTraining }, + {AGESA_HOOKBEFORE_EXIT_SELF_REF, BiosHookBeforeExitSelfRefresh }, }; AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr) |