]> git.sur5r.net Git - u-boot/commitdiff
tegra: Switch on console mux and use environment for console
authorSimon Glass <sjg@chromium.org>
Tue, 17 Apr 2012 09:01:36 +0000 (09:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:40 +0000 (08:31 +0200)
All tegra boards will use these options by default.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/tegra2-common.h

index c5870dd4be2253e1abbe4ce62aa346320a591ef6..068ce8855ff6efe49eb2ad3982dba8c94bbe2f0d 100644 (file)
 
 #define CONFIG_SYS_NO_FLASH
 
-/* Environment information */
+/* Environment information, boards can override if required */
+#define CONFIG_CONSOLE_MUX
+#define CONFIG_SYS_CONSOLE_IS_IN_ENV
+#define TEGRA2_DEVICE_SETTINGS "stdin=serial\0" \
+                                       "stdout=serial\0" \
+                                       "stderr=serial\0"
+
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "console=ttyS0,115200n8\0" \
        "mem=" TEGRA2_SYSMEM "\0" \
        "smpflag=smp\0" \
+       TEGRA2_DEVICE_SETTINGS
 
 #define CONFIG_LOADADDR                0x408000        /* def. location for kernel */
 #define CONFIG_BOOTDELAY       2               /* -1 to disable auto boot */