ARM: mxs: Add mx28evk_auart_console target

The target uses AUART 3 instead of the DUART for console output.

Signed-off-by: Andreas Wass <andreas.wass@dalelven.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Marek Vasut <marex@denx.de>
This commit is contained in:
Andreas Wass
2013-08-16 18:24:37 +02:00
committed by Stefano Babic
parent 661edaafd4
commit 0cfb8afed3
2 changed files with 7 additions and 1 deletions

View File

@@ -119,11 +119,16 @@
/* GPIO */
#define CONFIG_MXS_GPIO
/* DUART Serial Driver */
/*
* DUART Serial Driver.
* Conflicts with AUART driver which can be set by board.
*/
#ifndef CONFIG_MXS_AUART
#define CONFIG_PL011_SERIAL
#define CONFIG_PL011_CLOCK 24000000
#define CONFIG_PL01x_PORTS { (void *)MXS_UARTDBG_BASE }
#define CONFIG_CONS_INDEX 0
#endif
/* Default baudrate can be overriden by board! */
#ifndef CONFIG_BAUDRATE
#define CONFIG_BAUDRATE 115200