Skip to content

Commit 61fb4bf

Browse files
committed
ARC: [nsimosci] Unbork console
Despite the switch to right UART driver (prev patch), serial console still doesn't work due to missing CONFIG_SERIAL_OF_PLATFORM Also fix the default cmdline in DT to not refer to out-of-tree ARC framebuffer driver for console. Signed-off-by: Vineet Gupta <[email protected]> Cc: <[email protected]> #3.10, 3.12, 3.13, 3.14 Cc: Francois Bedard <[email protected]>
1 parent 6eda477 commit 61fb4bf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

arch/arc/boot/dts/nsimosci.dts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
interrupt-parent = <&intc>;
1818

1919
chosen {
20-
bootargs = "console=tty0 consoleblank=0";
20+
/* this is for console on PGU */
21+
/* bootargs = "console=tty0 consoleblank=0"; */
22+
/* this is for console on serial */
23+
bootargs = "earlycon=uart8250,mmio32,0xc0000000,115200n8 console=ttyS0,115200n8 consoleblank=0 debug";
2124
};
2225

2326
aliases {

arch/arc/configs/nsimosci_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ CONFIG_SERIO_ARC_PS2=y
5454
CONFIG_SERIAL_8250=y
5555
CONFIG_SERIAL_8250_CONSOLE=y
5656
CONFIG_SERIAL_8250_DW=y
57+
CONFIG_SERIAL_OF_PLATFORM=y
5758
CONFIG_SERIAL_ARC=y
5859
CONFIG_SERIAL_ARC_CONSOLE=y
5960
# CONFIG_HW_RANDOM is not set

0 commit comments

Comments
 (0)