mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
Fix some build errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
05675735ef
commit
3e66c07800
3 changed files with 10 additions and 8 deletions
|
@ -27,15 +27,15 @@
|
|||
#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
|
||||
|
||||
|
|
|
@ -28,12 +28,14 @@
|
|||
*/
|
||||
|
||||
#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)
|
||||
|
|
10
rtc/mcfrtc.c
10
rtc/mcfrtc.c
|
@ -22,14 +22,14 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <rtc.h>
|
||||
|
||||
#include <asm/immap.h>
|
||||
#include <asm/rtc.h>
|
||||
|
||||
#if defined(CONFIG_MCFRTC) && defined(CONFIG_CMD_DATE)
|
||||
|
||||
#include <command.h>
|
||||
#include <rtc.h>
|
||||
#include <asm/immap.h>
|
||||
#include <asm/rtc.h>
|
||||
|
||||
#undef RTC_DEBUG
|
||||
|
||||
#ifndef CFG_MCFRTC_BASE
|
||||
|
|
Loading…
Add table
Reference in a new issue