Skip to content
Snippets Groups Projects
Commit 3e66c078 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Fix some build errors.


Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent 05675735
No related branches found
No related tags found
No related merge requests found
...@@ -27,15 +27,15 @@ ...@@ -27,15 +27,15 @@
#include <common.h> #include <common.h>
#include <malloc.h> #include <malloc.h>
#ifdef CONFIG_MCFFEC
#include <asm/fec.h> #include <asm/fec.h>
#include <asm/immap.h> #include <asm/immap.h>
#include <command.h> #include <command.h>
#include <config.h>
#include <net.h> #include <net.h>
#include <miiphy.h> #include <miiphy.h>
#ifdef CONFIG_MCFFEC
#undef ET_DEBUG #undef ET_DEBUG
#undef MII_DEBUG #undef MII_DEBUG
......
...@@ -28,12 +28,14 @@ ...@@ -28,12 +28,14 @@
*/ */
#include <common.h> #include <common.h>
#ifdef CONFIG_MCFUART
#include <asm/immap.h> #include <asm/immap.h>
#include <asm/uart.h> #include <asm/uart.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
#ifdef CONFIG_MCFUART
extern void uart_port_conf(void); extern void uart_port_conf(void);
int serial_init(void) int serial_init(void)
......
...@@ -22,14 +22,14 @@ ...@@ -22,14 +22,14 @@
*/ */
#include <common.h> #include <common.h>
#if defined(CONFIG_MCFRTC) && defined(CONFIG_CMD_DATE)
#include <command.h> #include <command.h>
#include <rtc.h> #include <rtc.h>
#include <asm/immap.h> #include <asm/immap.h>
#include <asm/rtc.h> #include <asm/rtc.h>
#if defined(CONFIG_MCFRTC) && defined(CONFIG_CMD_DATE)
#undef RTC_DEBUG #undef RTC_DEBUG
#ifndef CFG_MCFRTC_BASE #ifndef CFG_MCFRTC_BASE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment