summaryrefslogtreecommitdiff
path: root/include/configs/warp7.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/warp7.h')
-rw-r--r--include/configs/warp7.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index f340bff3e7..5ebd583f6c 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -14,7 +14,13 @@
#define PHYS_SDRAM_SIZE SZ_512M
+#if (CONFIG_MXC_CONSOLE_NUM == 6)
+#define CONFIG_MXC_UART_BASE UART6_IPS_BASE_ADDR
+#define CONSOLE "ttymxc5"
+#else
#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
+#define CONSOLE "ttymxc0"
+#endif
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (35 * SZ_1M)
@@ -36,7 +42,7 @@
"script=boot.scr\0" \
"script_signed=boot.scr.imx-signed\0" \
"image=zImage\0" \
- "console=ttymxc0\0" \
+ "console=" CONSOLE "\0" \
"ethact=usb_ether\0" \
"fdt_high=0xffffffff\0" \
"initrd_high=0xffffffff\0" \