software/liblitedram/sdram.c: fix typo.

This commit is contained in:
Florent Kermarrec 2020-09-17 18:19:12 +02:00
parent a0d66dd60e
commit a39660fa99
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ static void sdram_write_leveling_off(void)
} }
static void sdram_write_leveling_rst_delay(int module) { static void sdram_write_leveling_rst_delay(int module) {
#ifdef SDRAM_PHY_sdram_write_leveling_REINIT #ifdef SDRAM_PHY_WRITE_LEVELING_REINIT
int i; int i;
#endif #endif
@ -138,7 +138,7 @@ static void sdram_write_leveling_rst_delay(int module) {
/* rst delay */ /* rst delay */
ddrphy_wdly_dq_rst_write(1); ddrphy_wdly_dq_rst_write(1);
ddrphy_wdly_dqs_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<ddrphy_half_sys8x_taps_read(); i++) for(i=0; i<ddrphy_half_sys8x_taps_read(); i++)
ddrphy_wdly_dqs_inc_write(1); ddrphy_wdly_dqs_inc_write(1);
#endif #endif