| Submitter | Ajay Kumar |
|---|---|
| Date | Jan. 11, 2013, 7:06 a.m. |
| Message ID | <1357887971-4464-2-git-send-email-ajaykumar.rs@samsung.com> |
| Download | mbox | patch |
| Permalink | /patch/211213/ |
| State | Accepted |
| Delegated to: | Minkyu Kang |
| Headers | show |
Comments
On 11/01/13 16:06, Ajay Kumar wrote: > 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: Ajay Kumar <ajaykumar.rs@samsung.com> > Acked-by: Simon Glass <sjg@chromium.org> > --- > Changes in V2: We use CONFIG_CONSOLE_MUX always. In V1, CONFIG_CONSOLE_MUX > was enabled only when CONFIG_LCD is selected. > > include/configs/exynos5250-dt.h | 11 +++++++++++ > 1 file changed, 11 insertions(+) > applied to u-boot-samsung. Thanks, Minkyu Kang.
Patch
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index 298bae9..6912936 100644 --- a/include/configs/exynos5250-dt.h +++ b/include/configs/exynos5250-dt.h @@ -77,6 +77,17 @@ #define CONFIG_BAUDRATE 115200 #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 /* SD/MMC configuration */