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:
Elyes Haouas 2022-10-19 17:41:46 +02:00 committed by Felix Held
parent 6c8826de8f
commit 6f9786bbcc
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ static void mchinfo_ddr2(struct sysinfo *s)
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 dimm_attr_ddr2_st decoded_dimm;
@ -331,7 +331,7 @@ static void workaround_stacked_mode(struct sysinfo *s)
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 dimm_attr_ddr3_st decoded_dimm;