diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-01-20 22:08:42 +0100 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-01-23 11:24:30 +0000 |
commit | e23b0abe30f3cf026a931cfd145d568cddf37ffc (patch) | |
tree | ab2979091347b7f325ea1b70ba6706424c22cca4 /src/mainboard/google/auron/variant.h | |
parent | 465b2a8f002648a1d8a05a07e0cda7ae82ccb25d (diff) |
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>
Diffstat (limited to 'src/mainboard/google/auron/variant.h')
-rw-r--r-- | src/mainboard/google/auron/variant.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mainboard/google/auron/variant.h b/src/mainboard/google/auron/variant.h index 14acee98d7..7a0e64d6e3 100644 --- a/src/mainboard/google/auron/variant.h +++ b/src/mainboard/google/auron/variant.h @@ -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 |