From 6f9786bbccfca6fa0b59cba726f79b2db6f0edcd Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Wed, 19 Oct 2022 17:41:46 +0200 Subject: nb/intel/x4x/raminit.c: Use 'enum cb_err' Change-Id: I22d7e724e69b41c9fabdef785276dc428be2b400 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/68558 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/northbridge/intel/x4x/raminit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/northbridge') diff --git a/src/northbridge/intel/x4x/raminit.c b/src/northbridge/intel/x4x/raminit.c index 2f844a5b36..b4366fb005 100644 --- a/src/northbridge/intel/x4x/raminit.c +++ b/src/northbridge/intel/x4x/raminit.c @@ -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; -- cgit v1.2.3