diff options
-rw-r--r-- | src/mainboard/amd/torpedo/BiosCallOuts.c | 9 | ||||
-rw-r--r-- | src/mainboard/amd/torpedo/Makefile.inc | 2 | ||||
-rw-r--r-- | src/northbridge/amd/agesa/family12/Makefile.inc | 2 | ||||
-rw-r--r-- | src/northbridge/amd/agesa/family12/dimmSpd.c (renamed from src/mainboard/amd/torpedo/dimmSpd.c) | 0 | ||||
-rw-r--r-- | src/northbridge/amd/agesa/family12/dimmSpd.h (renamed from src/mainboard/amd/torpedo/dimmSpd.h) | 0 | ||||
-rw-r--r-- | src/northbridge/amd/agesa/family12/fam12_callouts.c | 9 |
6 files changed, 11 insertions, 11 deletions
diff --git a/src/mainboard/amd/torpedo/BiosCallOuts.c b/src/mainboard/amd/torpedo/BiosCallOuts.c index bd47cfd19d..a52b8bca19 100644 --- a/src/mainboard/amd/torpedo/BiosCallOuts.c +++ b/src/mainboard/amd/torpedo/BiosCallOuts.c @@ -19,7 +19,6 @@ #include "agesawrapper.h" #include "amdlib.h" -#include "dimmSpd.h" #include "BiosCallOuts.h" #include "Ids.h" #include "OptionsIds.h" @@ -171,14 +170,6 @@ AGESA_STATUS BiosGetIdsInitData (UINT32 Func, UINT32 Data, VOID *ConfigPtr) return AGESA_SUCCESS; } -AGESA_STATUS BiosReadSpd (UINT32 Func, UINT32 Data, VOID *ConfigPtr) -{ - AGESA_STATUS Status; - Status = AmdMemoryReadSPD (Func, Data, (AGESA_READ_SPD_PARAMS *)ConfigPtr); - - return Status; -} - /* Call the host environment interface to provide a user hook opportunity. */ AGESA_STATUS BiosHookBeforeDQSTraining (UINT32 Func, UINT32 Data, VOID *ConfigPtr) { diff --git a/src/mainboard/amd/torpedo/Makefile.inc b/src/mainboard/amd/torpedo/Makefile.inc index 1102ea2619..86b025bd3b 100644 --- a/src/mainboard/amd/torpedo/Makefile.inc +++ b/src/mainboard/amd/torpedo/Makefile.inc @@ -33,14 +33,12 @@ endif romstage-y += buildOpts.c romstage-y += agesawrapper.c -romstage-y += dimmSpd.c romstage-y += BiosCallOuts.c romstage-y += PlatformGnbPcie.c romstage-y += gpio.c ramstage-y += buildOpts.c ramstage-y += agesawrapper.c -ramstage-y += dimmSpd.c ramstage-y += BiosCallOuts.c ramstage-y += PlatformGnbPcie.c diff --git a/src/northbridge/amd/agesa/family12/Makefile.inc b/src/northbridge/amd/agesa/family12/Makefile.inc index ff7f84550f..62c851903f 100644 --- a/src/northbridge/amd/agesa/family12/Makefile.inc +++ b/src/northbridge/amd/agesa/family12/Makefile.inc @@ -18,8 +18,10 @@ # romstage-y += fam12_callouts.c +romstage-y += dimmSpd.c ramstage-y += northbridge.c ramstage-y += fam12_callouts.c +ramstage-y += dimmSpd.c ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt.asl diff --git a/src/mainboard/amd/torpedo/dimmSpd.c b/src/northbridge/amd/agesa/family12/dimmSpd.c index 55fb2c3b22..55fb2c3b22 100644 --- a/src/mainboard/amd/torpedo/dimmSpd.c +++ b/src/northbridge/amd/agesa/family12/dimmSpd.c diff --git a/src/mainboard/amd/torpedo/dimmSpd.h b/src/northbridge/amd/agesa/family12/dimmSpd.h index 81ab02e157..81ab02e157 100644 --- a/src/mainboard/amd/torpedo/dimmSpd.h +++ b/src/northbridge/amd/agesa/family12/dimmSpd.h diff --git a/src/northbridge/amd/agesa/family12/fam12_callouts.c b/src/northbridge/amd/agesa/family12/fam12_callouts.c index add03110e0..192c5ddaff 100644 --- a/src/northbridge/amd/agesa/family12/fam12_callouts.c +++ b/src/northbridge/amd/agesa/family12/fam12_callouts.c @@ -19,6 +19,7 @@ #include "agesawrapper.h" #include "amdlib.h" +#include "dimmSpd.h" #include "BiosCallOuts.h" #include "Ids.h" #include "OptionsIds.h" @@ -352,6 +353,14 @@ AGESA_STATUS BiosReset (UINT32 Func, UINT32 Data, VOID *ConfigPtr) return Status; } +AGESA_STATUS BiosReadSpd (UINT32 Func, UINT32 Data, VOID *ConfigPtr) +{ + AGESA_STATUS Status; + Status = AmdMemoryReadSPD (Func, Data, (AGESA_READ_SPD_PARAMS *)ConfigPtr); + + return Status; +} + AGESA_STATUS BiosDefaultRet (UINT32 Func, UINT32 Data, VOID *ConfigPtr) { return AGESA_UNSUPPORTED; |