diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 5c9ec6802..7654caafa 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -1063,6 +1063,7 @@ static void sdrmproff(void) void sdrmpr(void) { int module, phase; + unsigned char buf[DFII_PIX_DATA_BYTES]; printf("Read SDRAM MPR...\n"); /* rst phy */ @@ -1084,8 +1085,10 @@ void sdrmpr(void) for (module=0; module < NBMODULES; module++) { printf("m%d: ", module); for(phase=0; phase