]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mx6qsabreauto: Use ttymxc3 as console
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 26 Sep 2012 11:37:01 +0000 (11:37 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:13 +0000 (11:54 -0700)
The mx6qsabreauto console is different than mx6qsabresd so the console
configuration is now set in the board file.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Stefano Babic <sbabic@denx.de>
include/configs/mx6qsabre_common.h
include/configs/mx6qsabreauto.h
include/configs/mx6qsabresd.h

index c54169137e3a34f2d2f9818ccea2e23fb1b16523..1d52b52c1ecb59d5889a0870223a09387853d507 100644 (file)
@@ -83,7 +83,7 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "script=boot.scr\0" \
        "uimage=uImage\0" \
-       "console=ttymxc0\0" \
+       "console=" CONFIG_CONSOLE_DEV "\0" \
        "fdt_high=0xffffffff\0"   \
        "initrd_high=0xffffffff\0" \
        "mmcdev=0\0" \
index 825d3b8bbc258b4e8175684cd5768eff9b5149de..a878dec89aa5922cf594a017d5c7e5a5100d39a4 100644 (file)
 
 #ifndef __MX6QSABREAUTO_CONFIG_H
 #define __MX6QSABREAUTO_CONFIG_H
-#include "mx6qsabre_common.h"
 
 #define CONFIG_MACH_TYPE       3529
 #define CONFIG_MXC_UART_BASE   UART4_BASE
+#define CONFIG_CONSOLE_DEV             "ttymxc3"
 #define PHYS_SDRAM_SIZE                (2u * 1024 * 1024 * 1024)
 
+#include "mx6qsabre_common.h"
+
 #endif                         /* __MX6QSABREAUTO_CONFIG_H */
index ca91aa57bb8a5662f36c003b5fe68ad5eca21439..f2ce79e9ec4d148a5735c11af21a56fb89afae7f 100644 (file)
 
 #ifndef __MX6QSABRESD_CONFIG_H
 #define __MX6QSABRESD_CONFIG_H
-#include "mx6qsabre_common.h"
 
 #define CONFIG_MACH_TYPE       3980
 #define CONFIG_MXC_UART_BASE   UART1_BASE
+#define CONFIG_CONSOLE_DEV             "ttymxc0"
 #define PHYS_SDRAM_SIZE                (1u * 1024 * 1024 * 1024)
 
+#include "mx6qsabre_common.h"
+
 #endif                         /* __MX6QSABRESD_CONFIG_H */