diff options
author | Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> | 2011-12-11 06:39:37 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-12-12 08:19:11 +0100 |
commit | 5fb5da794514e5ea6d0062d4158b87e789ae39dc (patch) | |
tree | 0a51fadd5e8020d41668004cc4d68ddded6c95ef | |
parent | 3b2001105fe4d0326f7aa1f83534accfdaec6a01 (diff) |
MIPS: tb0229: fix compile errors
This board breaks MAKEALL -a mips due to compile errors.
This patch fixes only the parts causing the errors to get MAKEALL
working.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
-rw-r--r-- | board/tb0229/flash.c | 1 | ||||
-rw-r--r-- | board/tb0229/tb0229.c | 1 | ||||
-rw-r--r-- | board/tb0229/vr4131-pci.c | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/board/tb0229/flash.c b/board/tb0229/flash.c index 75d7769b60a..4cb5968241c 100644 --- a/board/tb0229/flash.c +++ b/board/tb0229/flash.c @@ -24,7 +24,6 @@ */ #include <common.h> -#include <asm/ppc4xx.h> #include <asm/processor.h> flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */ diff --git a/board/tb0229/tb0229.c b/board/tb0229/tb0229.c index d3f05b2738b..8e374a17f79 100644 --- a/board/tb0229/tb0229.c +++ b/board/tb0229/tb0229.c @@ -11,6 +11,7 @@ #include <common.h> #include <command.h> +#include <netdev.h> #include <asm/addrspace.h> #include <asm/io.h> #include <asm/reboot.h> diff --git a/board/tb0229/vr4131-pci.c b/board/tb0229/vr4131-pci.c index 6ff42937c80..e6fff9d4b9b 100644 --- a/board/tb0229/vr4131-pci.c +++ b/board/tb0229/vr4131-pci.c @@ -184,7 +184,7 @@ static int vr4131_pci_write_config_dword (u32 hose, u32 dev, u32 reg, u32 val) * Initialize VR4131 PCIU */ -vr4131_pciu_init () +static void vr4131_pciu_init(void) { /* PCI clock */ *VR4131_PCICLKSELREG = 0x00000002; |