From: Sebastien Bourdeauducq Date: Sun, 24 Feb 2013 15:51:03 +0000 (+0100) Subject: bios: print number of memory errors X-Git-Tag: 24jan2021_ls180~3038 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e6505b94624d3c9e256c94f4ef503899b55a6f0;p=litex.git bios: print number of memory errors --- diff --git a/software/bios/sdram.c b/software/bios/sdram.c index b80637e5..9b4d5321 100644 --- a/software/bios/sdram.c +++ b/software/bios/sdram.c @@ -174,6 +174,7 @@ int memtest_silent(void) volatile unsigned int *array = (unsigned int *)SDRAM_BASE; int i; unsigned int prv; + unsigned int error_cnt; prv = 0; for(i=0;i