diff options
author | Minal Shah <minal.shah@ti.com> | 2013-10-04 14:52:02 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-01 15:56:00 -0400 |
commit | a13cbf5f208b59797d08199604f2701b6c3b9f64 (patch) | |
tree | ed792b49d3545fd7ffcc8192b05f3258d20141c6 /include | |
parent | 552998e5f7655ba8fd3acff400012bd651edff06 (diff) | |
download | u-boot-imx-a13cbf5f208b59797d08199604f2701b6c3b9f64.zip u-boot-imx-a13cbf5f208b59797d08199604f2701b6c3b9f64.tar.gz u-boot-imx-a13cbf5f208b59797d08199604f2701b6c3b9f64.tar.bz2 |
dra7xx_evm: Enabled UART-boot mode and add dra7xx_evm_uart3 build
UART booting is supported on this SoC, but via UART3 rather than UART1.
Because of this we must change the board to use UART3 for all console
access (only one UART is exposed on this board and a slight HW mod is
required to switch UARTs).
Signed-off-by: Minal Shah <minal.shah@ti.com>
[trini: Make apply to mainline, reword commit]
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/dra7xx_evm.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index 3a4c06b..7186ce7 100644 --- a/include/configs/dra7xx_evm.h +++ b/include/configs/dra7xx_evm.h @@ -22,9 +22,14 @@ #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 |