ddr3 spd: move accessor code into lib/spd_bin.c

It's an attempt to consolidate the access code, even if there are still
multiple implementations in the code.

Change-Id: I4b2b9cbc24a445f8fa4e0148f52fd15950535240
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/18265
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Patrick Georgi
2017-01-28 15:59:25 +01:00
committed by Patrick Georgi
parent 2e08b59cdc
commit 0e3c59e258
20 changed files with 56 additions and 113 deletions

View File

@@ -25,7 +25,7 @@
#endif
#include "hudson.h"
#include <stdlib.h>
#include <spd_cache.h>
#include <spd_bin.h>
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
static AGESA_STATUS board_ReadSpd_from_cbfs(UINT32 Func, UINTN Data, VOID *ConfigPtr);