mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Merge pull request #656 from kbeckmann/fix_sdram_leveling
Fix build issue where sdram_leveling is not found
This commit is contained in:
commit
96976941b4
1 changed files with 2 additions and 0 deletions
|
@ -801,7 +801,9 @@ int sdram_init(void)
|
|||
ddrctrl_init_error_write(0);
|
||||
#endif
|
||||
init_sequence();
|
||||
#if defined(SDRAM_PHY_WRITE_LEVELING_CAPABLE) || defined(SDRAM_PHY_READ_LEVELING_CAPABLE)
|
||||
sdram_leveling();
|
||||
#endif
|
||||
sdram_software_control_off();
|
||||
if(!memtest((unsigned int *) MAIN_RAM_BASE, MAIN_RAM_SIZE)) {
|
||||
#ifdef CSR_DDRCTRL_BASE
|
||||
|
|
Loading…
Reference in a new issue