diff --git a/software/bios/sdram.c b/software/bios/sdram.c index 785dcde37..2ca55da6e 100644 --- a/software/bios/sdram.c +++ b/software/bios/sdram.c @@ -424,6 +424,9 @@ int sdrlevel(void) #define TEST_SIZE (2*1024*1024) +#define ONEZERO 0xAAAAAAAA +#define ZEROONE 0x55555555 + int memtest_silent(void) { volatile unsigned int *array = (unsigned int *)SDRAM_BASE; @@ -431,15 +434,26 @@ int memtest_silent(void) unsigned int prv; unsigned int error_cnt; - for(i=0;i