Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/68558 )
Change subject: nb/intel/x4x/raminit.c: Use 'enum cb_err' ......................................................................
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 --- M src/northbridge/intel/x4x/raminit.c 1 file changed, 15 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
diff --git a/src/northbridge/intel/x4x/raminit.c b/src/northbridge/intel/x4x/raminit.c index 2f844a5..b4366fb 100644 --- a/src/northbridge/intel/x4x/raminit.c +++ b/src/northbridge/intel/x4x/raminit.c @@ -132,7 +132,7 @@ 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 @@ 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;