Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
DECLARE_GLOBAL_DATA_PTR;
-#ifdef CONFIG_MCFSERIAL
+#ifdef CONFIG_MCFUART
int serial_init(void)
{
volatile uart_t *uart;
uart->ucr = UART_UCR_RX_ENABLED | UART_UCR_TX_ENABLED;
}
-#endif /* CONFIG_MCFSERIAL */
+#endif /* CONFIG_MCFUART */
#undef DEBUG
-#define CONFIG_MCFSERIAL
+#define CONFIG_MCFUART
+#define CFG_UART_PORT (0)
#define CONFIG_BAUDRATE 115200
#define CFG_BAUDRATE_TABLE { 9600 , 19200 , 38400 , 57600, 115200 }
# endif /* CFG_DISCOVER_PHY */
#endif
-#define CONFIG_MCFUART
-#define CFG_UART_PORT (0)
-
#define CONFIG_MCFRTC
#undef RTC_DEBUG