Renamed CONFIG_MCFSERIAL to CONFIG_MCFUART
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
This commit is contained in:
parent
9df6ad12cf
commit
9998bd37ea
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
#ifdef CONFIG_MCFSERIAL
|
#ifdef CONFIG_MCFUART
|
||||||
int serial_init(void)
|
int serial_init(void)
|
||||||
{
|
{
|
||||||
volatile uart_t *uart;
|
volatile uart_t *uart;
|
||||||
|
@ -124,4 +124,4 @@ void serial_setbrg(void)
|
||||||
|
|
||||||
uart->ucr = UART_UCR_RX_ENABLED | UART_UCR_TX_ENABLED;
|
uart->ucr = UART_UCR_RX_ENABLED | UART_UCR_TX_ENABLED;
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_MCFSERIAL */
|
#endif /* CONFIG_MCFUART */
|
||||||
|
|
|
@ -39,7 +39,8 @@
|
||||||
|
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
|
||||||
#define CONFIG_MCFSERIAL
|
#define CONFIG_MCFUART
|
||||||
|
#define CFG_UART_PORT (0)
|
||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
#define CFG_BAUDRATE_TABLE { 9600 , 19200 , 38400 , 57600, 115200 }
|
#define CFG_BAUDRATE_TABLE { 9600 , 19200 , 38400 , 57600, 115200 }
|
||||||
|
|
||||||
|
@ -84,9 +85,6 @@
|
||||||
# endif /* CFG_DISCOVER_PHY */
|
# endif /* CFG_DISCOVER_PHY */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_MCFUART
|
|
||||||
#define CFG_UART_PORT (0)
|
|
||||||
|
|
||||||
#define CONFIG_MCFRTC
|
#define CONFIG_MCFRTC
|
||||||
#undef RTC_DEBUG
|
#undef RTC_DEBUG
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue