software/liblitedram: Add missing #ifdef SDRAM_DEBUG to fix compilation with large DRAMs.
sdram_dbg seems to have current limitations: "At most 32 databits SDR or 16 databits DDR supported".
This commit is contained in:
parent
beac24b796
commit
aa2622b1f5
|
@ -3,6 +3,8 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef SDRAM_DEBUG
|
||||
|
||||
void error_stats_init(struct error_stats *stats) {
|
||||
memset(stats, 0, sizeof(struct error_stats));
|
||||
}
|
||||
|
@ -85,3 +87,5 @@ int readback_compare(struct readback *readback, struct readback *other, int verb
|
|||
}
|
||||
return missing;
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue