summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/dinar/BiosCallOuts.c64
-rw-r--r--src/mainboard/amd/inagua/BiosCallOuts.c59
-rw-r--r--src/mainboard/amd/persimmon/BiosCallOuts.c59
-rw-r--r--src/mainboard/amd/south_station/BiosCallOuts.c59
-rw-r--r--src/mainboard/amd/torpedo/BiosCallOuts.c64
-rw-r--r--src/mainboard/amd/union_station/BiosCallOuts.c59
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)