diff mbox series

[08/11] Nokia RX-51: Enable CONFIG_CONSOLE_MUX

Message ID 20200331223518.10936-9-pali@kernel.org
State Accepted
Commit 07693ccb1574adecb9e87756339442955aeaf346
Headers show
Series Fixes for Nokia RX-51 | expand

Commit Message

Pali Rohár March 31, 2020, 10:35 p.m. UTC
After this change both device display and serial console would contain
U-Boto output automatically without any future configuration. This would
allow easier debugging on real device as access to serial console is hard
and also in qemu emulator where it is easier to copy+paste from serial
console as from SDL framebuffer.

Signed-off-by: Pali Roh?r <pali at kernel.org>
---
 configs/nokia_rx51_defconfig | 2 +-
 include/configs/nokia_rx51.h | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

Comments

Lokesh Vutla April 14, 2020, 10:19 a.m. UTC | #1
On 01/04/20 4:05 AM, Pali Roh?r wrote:
> After this change both device display and serial console would contain
> U-Boto output automatically without any future configuration. This would

s/U-Boto/U-Boot

with that,
Reviewed-by: Lokesh Vutla <lokeshvutla at ti.com>

Thanks and regards,
Lokesh
diff mbox series

Patch

diff --git a/configs/nokia_rx51_defconfig b/configs/nokia_rx51_defconfig
index 13bb6d07b7..fc92c3affc 100644
--- a/configs/nokia_rx51_defconfig
+++ b/configs/nokia_rx51_defconfig
@@ -7,7 +7,7 @@  CONFIG_NR_DRAM_BANKS=2
 CONFIG_BOOTDELAY=30
 CONFIG_USE_PREBOOT=y
 CONFIG_PREBOOT="run preboot"
-# CONFIG_CONSOLE_MUX is not set
+CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Nokia RX-51 # "
diff --git a/include/configs/nokia_rx51.h b/include/configs/nokia_rx51.h
index a33b0a7ac8..4014dca54c 100644
--- a/include/configs/nokia_rx51.h
+++ b/include/configs/nokia_rx51.h
@@ -119,9 +119,9 @@  int rx51_kp_getc(struct stdio_dev *sdev);
 /* Environment information */
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"usbtty=cdc_acm\0" \
-	"stdin=vga\0" \
-	"stdout=vga\0" \
-	"stderr=vga\0" \
+	"stdin=serial,vga\0" \
+	"stdout=serial,vga\0" \
+	"stderr=serial,vga\0" \
 	"setcon=setenv stdin ${con};" \
 		"setenv stdout ${con};" \
 		"setenv stderr ${con}\0" \