UPSTREAM: ddr3 spd: Rename read_spd_from_cbfs() to read_ddr3_spd_from_cbfs()
Since it checks for DDR3 style checksums, it's a more appropriate name.
Also make its configuration local for a future code move.
BUG=none
BRANCH=none
TEST=none
Change-Id: I863c33342228fa73b60c31fd86d493774de1a6fd
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 2e08b59cdc
Original-Change-Id: I417ae165579618d9215b8ca5f0500ff9a61af42f
Original-Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/18264
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Tested-by: build bot (Jenkins)
Reviewed-on: https://chromium-review.googlesource.com/441806
This commit is contained in:
parent
258e240898
commit
d6e19c1f2f
8 changed files with 12 additions and 11 deletions
|
|
@ -18,9 +18,9 @@
|
|||
#include <stdint.h>
|
||||
|
||||
#if IS_ENABLED(CONFIG_SPD_CACHE)
|
||||
int read_spd_from_cbfs(u8 *buf, int idx);
|
||||
int read_ddr3_spd_from_cbfs(u8 *buf, int idx);
|
||||
#else
|
||||
static inline int read_spd_from_cbfs(u8 *buf, int idx) { return -1; }
|
||||
static inline int read_ddr3_spd_from_cbfs(u8 *buf, int idx) { return -1; }
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue