From 6554873850f86993ab300d37b110fc160954f155 Mon Sep 17 00:00:00 2001 From: Keith Hui Date: Thu, 23 Mar 2023 01:14:58 -0400 Subject: nb/intel/i440bx: Clear memory errors before ending raminit i440BX datasheet says all memory errors reported during RAM init should be ignored. Do as it says. Change-Id: Iaf85fde813aa083ae62218a2df5aec303e3c9f8c Signed-off-by: Keith Hui Reviewed-on: https://review.coreboot.org/c/coreboot/+/73952 Reviewed-by: Paul Menzel Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/northbridge/intel/i440bx/raminit.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/northbridge/intel/i440bx') diff --git a/src/northbridge/intel/i440bx/raminit.c b/src/northbridge/intel/i440bx/raminit.c index 81c4e785a3..9f5f2dd918 100644 --- a/src/northbridge/intel/i440bx/raminit.c +++ b/src/northbridge/intel/i440bx/raminit.c @@ -1012,5 +1012,10 @@ void sdram_initialize(int s3resume) sdram_set_spd_registers(); sdram_enable(); + /* Clear any errors reported during raminit. */ + pci_write_config32(NB, EAP, 0x3); + pci_write_config8(NB, ERRSTS, 0x11); + pci_write_config8(NB, ERRSTS + 1, 0x1f); + timestamp_add_now(TS_INITRAM_END); } -- cgit v1.2.3