nb/intel/sandybridge/raminit: Move fill_smbios17 to ddr3.c
There's nothing Sandy Bridge specific in this code. Make it available on all platforms to reduce code duplication. Tested on Lenovo T430: SMBIOS entry 17 is still valid. Change-Id: I051c3e07a999d8dad082c24f65b43dce180349fd Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/28213 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
committed by
Felix Held
parent
4d2af9df7c
commit
24efe73dfd
@@ -32,6 +32,7 @@
|
||||
#include <stdint.h>
|
||||
#include <spd.h>
|
||||
#include <device/dram/common.h>
|
||||
#include <types.h>
|
||||
|
||||
|
||||
/**
|
||||
@@ -193,7 +194,9 @@ void dram_print_spd_ddr3(const dimm_attr *dimm);
|
||||
int spd_xmp_decode_ddr3(dimm_attr *dimm,
|
||||
spd_raw_data spd,
|
||||
enum ddr3_xmp_profile profile);
|
||||
|
||||
enum cb_err spd_add_smbios17(const u8 channel, const u8 slot,
|
||||
const u16 selected_freq,
|
||||
const dimm_attr *info);
|
||||
/**
|
||||
* \brief Read double word from specified address
|
||||
*
|
||||
|
Reference in New Issue
Block a user