mb/google/auron: Factor out mainboard_print_spd_info
It is identical for all variants that have it. Change-Id: Iec3a5f036d9b760d1075059f2db1480b1c76273e Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49772 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <device/device.h>
|
||||
#include <soc/romstage.h>
|
||||
#include <stdint.h>
|
||||
|
||||
int variant_smbios_data(struct device *dev, int *handle,
|
||||
unsigned long *current);
|
||||
@@ -12,17 +13,8 @@ void variant_romstage_entry(struct romstage_params *rp);
|
||||
void lan_init(void);
|
||||
|
||||
void mainboard_fill_spd_data(struct pei_data *pei_data);
|
||||
void mainboard_print_spd_info(uint8_t spd[]);
|
||||
|
||||
#define SPD_LEN 256
|
||||
|
||||
#define SPD_DRAM_TYPE 2
|
||||
#define SPD_DRAM_DDR3 0x0b
|
||||
#define SPD_DRAM_LPDDR3 0xf1
|
||||
#define SPD_DENSITY_BANKS 4
|
||||
#define SPD_ADDRESSING 5
|
||||
#define SPD_ORGANIZATION 7
|
||||
#define SPD_BUS_DEV_WIDTH 8
|
||||
#define SPD_PART_OFF 128
|
||||
#define SPD_PART_LEN 18
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user