nb/intel/x4x/raminit.c: Use 'enum cb_err'
Change-Id: I22d7e724e69b41c9fabdef785276dc428be2b400 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68558 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
6c8826de8f
commit
6f9786bbcc
|
@ -132,7 +132,7 @@ static void mchinfo_ddr2(struct sysinfo *s)
|
||||||
printk(BIOS_WARNING, "VT-d enabled\n");
|
printk(BIOS_WARNING, "VT-d enabled\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ddr2_save_dimminfo(u8 dimm_idx, u8 *raw_spd,
|
static enum cb_err ddr2_save_dimminfo(u8 dimm_idx, u8 *raw_spd,
|
||||||
struct abs_timings *saved_timings, struct sysinfo *s)
|
struct abs_timings *saved_timings, struct sysinfo *s)
|
||||||
{
|
{
|
||||||
struct dimm_attr_ddr2_st decoded_dimm;
|
struct dimm_attr_ddr2_st decoded_dimm;
|
||||||
|
@ -331,7 +331,7 @@ static void workaround_stacked_mode(struct sysinfo *s)
|
||||||
s->stacked_mode = 1;
|
s->stacked_mode = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ddr3_save_dimminfo(u8 dimm_idx, u8 *raw_spd,
|
static enum cb_err ddr3_save_dimminfo(u8 dimm_idx, u8 *raw_spd,
|
||||||
struct abs_timings *saved_timings, struct sysinfo *s)
|
struct abs_timings *saved_timings, struct sysinfo *s)
|
||||||
{
|
{
|
||||||
struct dimm_attr_ddr3_st decoded_dimm;
|
struct dimm_attr_ddr3_st decoded_dimm;
|
||||||
|
|
Loading…
Reference in New Issue