1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-18 00:07:20 +00:00

litedram: Remove init delays

The clocks / resets are now stable

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Benjamin Herrenschmidt
2020-05-15 10:14:53 +10:00
parent c19b5b8cc7
commit c0f537b845

View File

@@ -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