]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix some build errors.
authorWolfgang Denk <wd@denx.de>
Sun, 19 Aug 2007 08:27:34 +0000 (10:27 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 19 Aug 2007 08:27:34 +0000 (10:27 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
drivers/net/mcffec.c
drivers/serial/mcfuart.c
rtc/mcfrtc.c

index 2e0ddeb7772a71f9688e8b057ac0332f7ea06d6f..3b812585b76f58d83dd640e5493fd21a7dea4f4c 100644 (file)
 #include <common.h>
 #include <malloc.h>
 
+#ifdef CONFIG_MCFFEC
+
 #include <asm/fec.h>
 #include <asm/immap.h>
 
 #include <command.h>
-#include <config.h>
 #include <net.h>
 #include <miiphy.h>
 
-#ifdef CONFIG_MCFFEC
 #undef ET_DEBUG
 #undef MII_DEBUG
 
index bc7077de79e5d0d82c71a496e0d7bf5aa93d135d..88f3eb10abf8f3b4b67d5459b503cb3b6f8e7830 100644 (file)
  */
 
 #include <common.h>
+
+#ifdef CONFIG_MCFUART
+
 #include <asm/immap.h>
 #include <asm/uart.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#ifdef CONFIG_MCFUART
 extern void uart_port_conf(void);
 
 int serial_init(void)
index 76bb5107f6a32dbe2f3bb6eaff3301dd4702ca21..27386e586a6bed91850d0aaf0baec2fee97fdb46 100644 (file)
  */
 
 #include <common.h>
+
+#if defined(CONFIG_MCFRTC) && defined(CONFIG_CMD_DATE)
+
 #include <command.h>
 #include <rtc.h>
-
 #include <asm/immap.h>
 #include <asm/rtc.h>
 
-#if defined(CONFIG_MCFRTC) && defined(CONFIG_CMD_DATE)
-
 #undef RTC_DEBUG
 
 #ifndef CFG_MCFRTC_BASE