mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
bios/sdram: fix data error reporting
This commit is contained in:
parent
22ff745027
commit
03eb137449
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ int memtest(void)
|
|||
printf("Memtest bus failed: %d/%d errors\n", bus_errors, 2*128);
|
||||
|
||||
data_errors = memtest_data();
|
||||
if(bus_errors != 0)
|
||||
if(data_errors != 0)
|
||||
printf("Memtest data failed: %d/%d errors\n", data_errors, MEMTEST_DATA_SIZE/4);
|
||||
|
||||
addr_errors = memtest_addr();
|
||||
|
|
Loading…
Reference in a new issue