diff options
Diffstat (limited to 'arch/frv/kernel/setup.c')
-rw-r--r-- | arch/frv/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c index 767ebb55bd83..5908deae9607 100644 --- a/arch/frv/kernel/setup.c +++ b/arch/frv/kernel/setup.c | |||
@@ -787,6 +787,7 @@ void __init setup_arch(char **cmdline_p) | |||
787 | #endif | 787 | #endif |
788 | 788 | ||
789 | /* register those serial ports that are available */ | 789 | /* register those serial ports that are available */ |
790 | #ifdef CONFIG_FRV_ONCPU_SERIAL | ||
790 | #ifndef CONFIG_GDBSTUB_UART0 | 791 | #ifndef CONFIG_GDBSTUB_UART0 |
791 | __reg(UART0_BASE + UART_IER * 8) = 0; | 792 | __reg(UART0_BASE + UART_IER * 8) = 0; |
792 | early_serial_setup(&__frv_uart0); | 793 | early_serial_setup(&__frv_uart0); |
@@ -795,6 +796,7 @@ void __init setup_arch(char **cmdline_p) | |||
795 | __reg(UART1_BASE + UART_IER * 8) = 0; | 796 | __reg(UART1_BASE + UART_IER * 8) = 0; |
796 | early_serial_setup(&__frv_uart1); | 797 | early_serial_setup(&__frv_uart1); |
797 | #endif | 798 | #endif |
799 | #endif | ||
798 | 800 | ||
799 | #if defined(CONFIG_CHR_DEV_FLASH) || defined(CONFIG_BLK_DEV_FLASH) | 801 | #if defined(CONFIG_CHR_DEV_FLASH) || defined(CONFIG_BLK_DEV_FLASH) |
800 | /* we need to initialize the Flashrom device here since we might | 802 | /* we need to initialize the Flashrom device here since we might |