]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/dra7xx_evm.h
dra7xx_evm: Enabled UART-boot mode and add dra7xx_evm_uart3 build
[people/ms/u-boot.git] / include / configs / dra7xx_evm.h
index 3a4c06bc8fe84b53ad58f1beff260dd86bc6723b..7186ce709cbfaa75da3a109dd10b6d6455c308f8 100644 (file)
 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
 #define CONFIG_CMD_SAVEENV
 
+#if (CONFIG_CONS_INDEX == 1)
 #define CONSOLEDEV                     "ttyO0"
-#define CONFIG_CONS_INDEX              1
-#define CONFIG_SYS_NS16550_COM1                UART1_BASE
+#elif (CONFIG_CONS_INDEX == 3)
+#define CONSOLEDEV                     "ttyO2"
+#endif
+#define CONFIG_SYS_NS16550_COM1                UART1_BASE      /* Base EVM has UART0 */
+#define CONFIG_SYS_NS16550_COM2                UART2_BASE      /* UART2 */
+#define CONFIG_SYS_NS16550_COM3                UART3_BASE      /* UART3 */
 #define CONFIG_BAUDRATE                        115200
 
 #define CONFIG_SYS_OMAP_ABE_SYSCK