From 6599f7bb50da4690d9a97395ae859bf01038e235 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 30 Mar 2019 10:56:17 +0100 Subject: [PATCH] bios/main: move sdrinit --- litex/soc/software/bios/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/bios/main.c b/litex/soc/software/bios/main.c index 71b03a3e..6f68be62 100644 --- a/litex/soc/software/bios/main.c +++ b/litex/soc/software/bios/main.c @@ -280,6 +280,7 @@ static void do_command(char *c) else if(strcmp(token, "sdrrderr") == 0) sdrrderr(get_token(&c)); else if(strcmp(token, "sdrwr") == 0) sdrwr(get_token(&c)); #ifdef CSR_DDRPHY_BASE + else if(strcmp(token, "sdrinit") == 0) sdrinit(); #ifdef CSR_DDRPHY_WLEVEL_EN_ADDR else if(strcmp(token, "sdrwlon") == 0) sdrwlon(); else if(strcmp(token, "sdrwloff") == 0) sdrwloff(); @@ -287,7 +288,6 @@ static void do_command(char *c) else if(strcmp(token, "sdrlevel") == 0) sdrlevel(); #endif else if(strcmp(token, "memtest") == 0) memtest(); - else if(strcmp(token, "sdrinit") == 0) sdrinit(); #endif else if(strcmp(token, "") != 0) -- 2.30.2