|
@@ -787,6 +787,7 @@ void __init setup_arch(char **cmdline_p)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
/* register those serial ports that are available */
|
|
/* register those serial ports that are available */
|
|
|
|
+#ifdef CONFIG_FRV_ONCPU_SERIAL
|
|
#ifndef CONFIG_GDBSTUB_UART0
|
|
#ifndef CONFIG_GDBSTUB_UART0
|
|
__reg(UART0_BASE + UART_IER * 8) = 0;
|
|
__reg(UART0_BASE + UART_IER * 8) = 0;
|
|
early_serial_setup(&__frv_uart0);
|
|
early_serial_setup(&__frv_uart0);
|
|
@@ -795,6 +796,7 @@ void __init setup_arch(char **cmdline_p)
|
|
__reg(UART1_BASE + UART_IER * 8) = 0;
|
|
__reg(UART1_BASE + UART_IER * 8) = 0;
|
|
early_serial_setup(&__frv_uart1);
|
|
early_serial_setup(&__frv_uart1);
|
|
#endif
|
|
#endif
|
|
|
|
+#endif
|
|
|
|
|
|
#if defined(CONFIG_CHR_DEV_FLASH) || defined(CONFIG_BLK_DEV_FLASH)
|
|
#if defined(CONFIG_CHR_DEV_FLASH) || defined(CONFIG_BLK_DEV_FLASH)
|
|
/* we need to initialize the Flashrom device here since we might
|
|
/* we need to initialize the Flashrom device here since we might
|