From: Benjamin Herrenschmidt Date: Fri, 15 May 2020 00:14:53 +0000 (+1000) Subject: litedram: Remove init delays X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0f537b8455731cf1db23fb488afd0d9c5df19e6;p=microwatt.git litedram: Remove init delays The clocks / resets are now stable Signed-off-by: Benjamin Herrenschmidt --- diff --git a/litedram/gen-src/sdram_init/main.c b/litedram/gen-src/sdram_init/main.c index b40c4df..fd43970 100644 --- a/litedram/gen-src/sdram_init/main.c +++ b/litedram/gen-src/sdram_init/main.c @@ -37,17 +37,10 @@ void flush_cpu_icache(void) void main(void) { unsigned long long ftr, val; - int i; /* Init the UART */ potato_uart_init(); - /* - * Let things settle ... not sure why but the UART is - * not happy otherwise. The PLL might need to settle ? - */ - for (i = 0; i < 10000; i++) - readb(UART_BASE + POTATO_CONSOLE_STATUS); printf("\n\nWelcome to Microwatt !\n\n"); /* TODO: Add core version information somewhere in syscon, possibly