From a39660fa99b27b765e9115dcd3c77fde53db5906 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 17 Sep 2020 18:19:12 +0200 Subject: [PATCH] software/liblitedram/sdram.c: fix typo. --- litex/soc/software/liblitedram/sdram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/software/liblitedram/sdram.c b/litex/soc/software/liblitedram/sdram.c index a0e2bcde9..158f8bc9c 100644 --- a/litex/soc/software/liblitedram/sdram.c +++ b/litex/soc/software/liblitedram/sdram.c @@ -128,7 +128,7 @@ static void sdram_write_leveling_off(void) } static void sdram_write_leveling_rst_delay(int module) { -#ifdef SDRAM_PHY_sdram_write_leveling_REINIT +#ifdef SDRAM_PHY_WRITE_LEVELING_REINIT int i; #endif @@ -138,7 +138,7 @@ static void sdram_write_leveling_rst_delay(int module) { /* rst delay */ ddrphy_wdly_dq_rst_write(1); ddrphy_wdly_dqs_rst_write(1); -#ifdef SDRAM_PHY_sdram_write_leveling_REINIT +#ifdef SDRAM_PHY_WRITE_LEVELING_REINIT for(i=0; i