diff --git a/litex/soc/software/liblitedram/sdram.c b/litex/soc/software/liblitedram/sdram.c index a8802efb5..aa45e5e21 100644 --- a/litex/soc/software/liblitedram/sdram.c +++ b/litex/soc/software/liblitedram/sdram.c @@ -866,6 +866,7 @@ void sdrcal(void) /*-----------------------------------------------------------------------*/ /* Initialization */ /*-----------------------------------------------------------------------*/ +int sdrwl_delays[16]; int sdrinit(void) { diff --git a/litex/soc/software/liblitedram/sdram.h b/litex/soc/software/liblitedram/sdram.h index 0077f4be8..ac1b1fb16 100644 --- a/litex/soc/software/liblitedram/sdram.h +++ b/litex/soc/software/liblitedram/sdram.h @@ -31,8 +31,6 @@ void sdrwr(unsigned int addr); /* Write Leveling */ /*-----------------------------------------------------------------------*/ -int sdrwl_delays[16]; - void sdrwlon(void); void sdrwloff(void); int write_level(void);