From c0f537b8455731cf1db23fb488afd0d9c5df19e6 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Fri, 15 May 2020 10:14:53 +1000 Subject: [PATCH] litedram: Remove init delays The clocks / resets are now stable Signed-off-by: Benjamin Herrenschmidt --- litedram/gen-src/sdram_init/main.c | 7 ------- 1 file changed, 7 deletions(-) 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