Skip to content
Snippets Groups Projects
Commit a2468ded authored by Ajay Kumar's avatar Ajay Kumar Committed by Minkyu Kang
Browse files

EXYNOS5: Enable console multiplexing in u-boot


We enable console multiplexing and use both serial and LCD for stdout/stderr.
Initially, u-boot output console is observed via serial port.
If you also have a DP panel connected onto your SMDK5250 board,
you can switch to LCD console by typing "setenv stdout lcd".
You can always switch back to serial using "setenv stdout serial".
You can switch error console(stderr) as well, using similar commands.

Signed-off-by: default avatarAjay Kumar <ajaykumar.rs@samsung.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
parent 99e51629
No related branches found
No related tags found
No related merge requests found
...@@ -77,6 +77,17 @@ ...@@ -77,6 +77,17 @@
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define EXYNOS5_DEFAULT_UART_OFFSET 0x010000 #define EXYNOS5_DEFAULT_UART_OFFSET 0x010000
/* Console configuration */
#define CONFIG_CONSOLE_MUX
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
#define EXYNOS_DEVICE_SETTINGS \
"stdin=serial\0" \
"stdout=serial,lcd\0" \
"stderr=serial,lcd\0"
#define CONFIG_EXTRA_ENV_SETTINGS \
EXYNOS_DEVICE_SETTINGS
#define TZPC_BASE_OFFSET 0x10000 #define TZPC_BASE_OFFSET 0x10000
/* SD/MMC configuration */ /* SD/MMC configuration */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment