Renamed CONFIG_MCFSERIAL to CONFIG_MCFUART
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>
Sun, 5 Aug 2007 08:19:10 +0000 (03:19 -0500)
committerStefan Roese <sr@denx.de>
Wed, 8 Aug 2007 07:46:55 +0000 (09:46 +0200)
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
drivers/serial/mcfuart.c
include/configs/M5329EVB.h

index f54aabec2684e2757d8e177d05120572375d1a60..39d4e18166bbf6574947d43f5953920b6b499204 100644 (file)
@@ -33,7 +33,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#ifdef CONFIG_MCFSERIAL
+#ifdef CONFIG_MCFUART
 int serial_init(void)
 {
        volatile uart_t *uart;
@@ -124,4 +124,4 @@ void serial_setbrg(void)
 
        uart->ucr = UART_UCR_RX_ENABLED | UART_UCR_TX_ENABLED;
 }
-#endif                         /* CONFIG_MCFSERIAL */
+#endif                         /* CONFIG_MCFUART */
index d1ac340048124b5020d0c4e1166ebc406357d6ab..50be03fe3781e4373adb0c4e77a6a3596437f4ac 100644 (file)
@@ -39,7 +39,8 @@
 
 #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 }
 
@@ -84,9 +85,6 @@
 #      endif                   /* CFG_DISCOVER_PHY */
 #endif
 
-#define CONFIG_MCFUART
-#define CFG_UART_PORT          (0)
-
 #define CONFIG_MCFRTC
 #undef RTC_DEBUG