[coreboot-gerrit] New patch to review for coreboot: 711aada AGESA: Fix BiosCallouts table formatting

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Sun May 4 15:02:05 CEST 2014


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5660

-gerrit

commit 711aada03895cf9a0ed2296d86de6dac71c8fb08
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Sun May 4 14:53:36 2014 +0300

    AGESA: Fix BiosCallouts table formatting
    
    Already done for fam15tn and fam16kb.
    
    Change-Id: I3da36bfe6fd1805867eee5aa1f017c4fda084349
    Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
 src/mainboard/amd/dinar/BiosCallOuts.c             | 64 +++++-----------------
 src/mainboard/amd/inagua/BiosCallOuts.c            | 59 ++++----------------
 src/mainboard/amd/persimmon/BiosCallOuts.c         | 59 ++++----------------
 src/mainboard/amd/south_station/BiosCallOuts.c     | 59 ++++----------------
 src/mainboard/amd/torpedo/BiosCallOuts.c           | 64 +++++-----------------
 src/mainboard/amd/union_station/BiosCallOuts.c     | 59 ++++----------------
 src/mainboard/asrock/e350m1/BiosCallOuts.c         | 52 ++++--------------
 src/mainboard/gizmosphere/gizmo/BiosCallOuts.c     | 59 ++++----------------
 src/mainboard/jetway/nf81-t56n-lf/BiosCallOuts.c   | 59 ++++----------------
 .../lippert/frontrunner-af/BiosCallOuts.c          | 59 ++++----------------
 src/mainboard/lippert/toucan-af/BiosCallOuts.c     | 59 ++++----------------
 src/mainboard/supermicro/h8qgi/BiosCallOuts.c      | 64 ++++------------------
 src/mainboard/supermicro/h8scm/BiosCallOuts.c      | 64 ++++------------------
 src/mainboard/tyan/s8226/BiosCallOuts.c            | 64 ++++------------------
 14 files changed, 166 insertions(+), 678 deletions(-)

diff --git a/src/mainboard/amd/dinar/BiosCallOuts.c b/src/mainboard/amd/dinar/BiosCallOuts.c
index c9888b9..404ae20 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 452a592..6bf2325 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 700da08..e605385 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 2aca184..d51c664 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 7d49c07..ec9a948 100644
--- a/src/mainboard/amd/torpedo/BiosCallOuts.c
+++ b/src/mainboard/amd/torpedo/BiosCallOuts.c
@@ -40,57 +40,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 2aca184..d51c664 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)
diff --git a/src/mainboard/asrock/e350m1/BiosCallOuts.c b/src/mainboard/asrock/e350m1/BiosCallOuts.c
index a6a82f9..20b9732 100644
--- a/src/mainboard/asrock/e350m1/BiosCallOuts.c
+++ b/src/mainboard/asrock/e350m1/BiosCallOuts.c
@@ -26,47 +26,17 @@
 
 CONST 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_HOOKBEFORE_DQS_TRAINING,
-   BiosHookBeforeDQSTraining
-  },
-
-  {AGESA_HOOKBEFORE_DRAM_INIT,
-   BiosHookBeforeDramInit
-  },
-  {AGESA_HOOKBEFORE_EXIT_SELF_REF,
-   BiosHookBeforeExitSelfRefresh
-  },
-  {AGESA_GNB_PCIE_SLOT_RESET,
-   BiosGnbPcieSlotReset
-  },
+	{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_HOOKBEFORE_DQS_TRAINING,		BiosHookBeforeDQSTraining },
+	{AGESA_HOOKBEFORE_DRAM_INIT,		BiosHookBeforeDramInit },
+	{AGESA_HOOKBEFORE_EXIT_SELF_REF,	BiosHookBeforeExitSelfRefresh },
+	{AGESA_GNB_PCIE_SLOT_RESET,		BiosGnbPcieSlotReset },
 };
 
 AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
diff --git a/src/mainboard/gizmosphere/gizmo/BiosCallOuts.c b/src/mainboard/gizmosphere/gizmo/BiosCallOuts.c
index ada7853..b3758e7 100755
--- a/src/mainboard/gizmosphere/gizmo/BiosCallOuts.c
+++ b/src/mainboard/gizmosphere/gizmo/BiosCallOuts.c
@@ -33,53 +33,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/jetway/nf81-t56n-lf/BiosCallOuts.c b/src/mainboard/jetway/nf81-t56n-lf/BiosCallOuts.c
index 441661e..ecfc561 100644
--- a/src/mainboard/jetway/nf81-t56n-lf/BiosCallOuts.c
+++ b/src/mainboard/jetway/nf81-t56n-lf/BiosCallOuts.c
@@ -28,53 +28,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_t Func, uint32_t Data, void *ConfigPtr)
diff --git a/src/mainboard/lippert/frontrunner-af/BiosCallOuts.c b/src/mainboard/lippert/frontrunner-af/BiosCallOuts.c
index fdb228c..d4308f2 100644
--- a/src/mainboard/lippert/frontrunner-af/BiosCallOuts.c
+++ b/src/mainboard/lippert/frontrunner-af/BiosCallOuts.c
@@ -25,53 +25,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/lippert/toucan-af/BiosCallOuts.c b/src/mainboard/lippert/toucan-af/BiosCallOuts.c
index 6398e31..3b602a0 100644
--- a/src/mainboard/lippert/toucan-af/BiosCallOuts.c
+++ b/src/mainboard/lippert/toucan-af/BiosCallOuts.c
@@ -25,53 +25,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/supermicro/h8qgi/BiosCallOuts.c b/src/mainboard/supermicro/h8qgi/BiosCallOuts.c
index 2fbe70a..d439804 100644
--- a/src/mainboard/supermicro/h8qgi/BiosCallOuts.c
+++ b/src/mainboard/supermicro/h8qgi/BiosCallOuts.c
@@ -73,59 +73,17 @@ static void restore_socket(UINT8 original_value)
 
 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_GET_IDS_INIT_DATA,
-		BiosGetIdsInitData
-	},
-
-	{
-		AGESA_HOOKBEFORE_DQS_TRAINING,
-		BiosHookBeforeDQSTraining
-	},
-
-	{
-		AGESA_HOOKBEFORE_DRAM_INIT,
-		BiosHookBeforeDramInit
-	},
-	{
-		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_GET_IDS_INIT_DATA,		BiosGetIdsInitData },
+	{AGESA_HOOKBEFORE_DQS_TRAINING,		BiosHookBeforeDQSTraining },
+	{AGESA_HOOKBEFORE_DRAM_INIT,		BiosHookBeforeDramInit },
+	{AGESA_HOOKBEFORE_EXIT_SELF_REF,	BiosHookBeforeExitSelfRefresh },
 };
 
 AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
diff --git a/src/mainboard/supermicro/h8scm/BiosCallOuts.c b/src/mainboard/supermicro/h8scm/BiosCallOuts.c
index 97f59b3..ae1e3f8 100644
--- a/src/mainboard/supermicro/h8scm/BiosCallOuts.c
+++ b/src/mainboard/supermicro/h8scm/BiosCallOuts.c
@@ -27,59 +27,17 @@
 
 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_GET_IDS_INIT_DATA,
-		BiosGetIdsInitData
-	},
-
-	{
-		AGESA_HOOKBEFORE_DQS_TRAINING,
-		BiosHookBeforeDQSTraining
-	},
-
-	{
-		AGESA_HOOKBEFORE_DRAM_INIT,
-		BiosHookBeforeDramInit
-	},
-	{
-		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_GET_IDS_INIT_DATA,		BiosGetIdsInitData },
+	{AGESA_HOOKBEFORE_DQS_TRAINING,		BiosHookBeforeDQSTraining },
+	{AGESA_HOOKBEFORE_DRAM_INIT,		BiosHookBeforeDramInit },
+	{AGESA_HOOKBEFORE_EXIT_SELF_REF,	BiosHookBeforeExitSelfRefresh },
 };
 
 AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
diff --git a/src/mainboard/tyan/s8226/BiosCallOuts.c b/src/mainboard/tyan/s8226/BiosCallOuts.c
index 0d6e175..8458931 100644
--- a/src/mainboard/tyan/s8226/BiosCallOuts.c
+++ b/src/mainboard/tyan/s8226/BiosCallOuts.c
@@ -81,59 +81,17 @@ static void restore_socket(UINT8 original_value)
 
 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_GET_IDS_INIT_DATA,
-		BiosGetIdsInitData
-	},
-
-	{
-		AGESA_HOOKBEFORE_DQS_TRAINING,
-		BiosHookBeforeDQSTraining
-	},
-
-	{
-		AGESA_HOOKBEFORE_DRAM_INIT,
-		BiosHookBeforeDramInit
-	},
-	{
-		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_GET_IDS_INIT_DATA,		BiosGetIdsInitData },
+	{AGESA_HOOKBEFORE_DQS_TRAINING,		BiosHookBeforeDQSTraining },
+	{AGESA_HOOKBEFORE_DRAM_INIT,		BiosHookBeforeDramInit },
+	{AGESA_HOOKBEFORE_EXIT_SELF_REF,	BiosHookBeforeExitSelfRefresh },
 };
 
 AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr)



More information about the coreboot-gerrit mailing list