diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-10-17 22:33:22 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-10-19 06:19:44 +0200 |
commit | a1ebbc42ad791369c2e4f626e46917bdb1459d72 (patch) | |
tree | a9cb880f9cdb7adfd02b3c751f1e9a1500cf91c6 /src/mainboard/amd/dinar | |
parent | c5cc9f233c9b2a1decf57b6e51438d03152fe54e (diff) |
AGESA fam12 fam14 fam15: Use common agesa_readSpd()
Remove northbridge specific callouts for AGESA_READ_SPD.
Move low-level SMBus code to southbridge.
Change-Id: I5fc91c49d9ef8e0af1c4d8194f857c61ce417d1d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/7113
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/mainboard/amd/dinar')
-rw-r--r-- | src/mainboard/amd/dinar/BiosCallOuts.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/amd/dinar/BiosCallOuts.c b/src/mainboard/amd/dinar/BiosCallOuts.c index c5267dca72..72424f8849 100644 --- a/src/mainboard/amd/dinar/BiosCallOuts.c +++ b/src/mainboard/amd/dinar/BiosCallOuts.c @@ -24,10 +24,11 @@ #include "OptionsIds.h" #include "heapManager.h" #include "SB700.h" -#include <northbridge/amd/agesa/family15/dimmSpd.h> #include "OEM.h" /* SMBUS0_BASE_ADDRESS */ #include <stdlib.h> +#include <southbridge/amd/cimx/sb700/smbus_spd.h> + #ifndef SB_GPIO_REG01 #define SB_GPIO_REG01 1 #endif @@ -117,7 +118,7 @@ static AGESA_STATUS board_ReadSpd (UINT32 Func, UINT32 Data, VOID *ConfigPtr) select_socket(((AGESA_READ_SPD_PARAMS *)ConfigPtr)->SocketId); - Status = agesa_ReadSPD (Func, Data, ConfigPtr); + Status = agesa_ReadSpd (Func, Data, ConfigPtr); restore_socket(); #else |