From e2719d4d71235219b6b70fcf2551f14aca18f922 Mon Sep 17 00:00:00 2001 From: Gabriel Somlo Date: Tue, 15 Sep 2020 14:23:05 -0400 Subject: [PATCH] fixup for e28e808c - don't define variable in .h file --- litex/soc/software/liblitedram/sdram.c | 1 + litex/soc/software/liblitedram/sdram.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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);