]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
MIPS: tb0229: fix compile errors
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Sun, 11 Dec 2011 06:39:37 +0000 (06:39 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 12 Dec 2011 07:19:11 +0000 (08:19 +0100)
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>
board/tb0229/flash.c
board/tb0229/tb0229.c
board/tb0229/vr4131-pci.c

index 75d7769b60a30754b33252991a8321bc4832807d..4cb5968241c6024e129452f820a2d6654f2009e3 100644 (file)
@@ -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        */
index d3f05b2738b06a422e8bc3499515273ccd47e129..8e374a17f7924ea635a0dfae9b1838c2ad45f7e5 100644 (file)
@@ -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>
index 6ff42937c80e87d5bc97aff24ec8a76c2d9340de..e6fff9d4b9bd04965b1f225a8ce8545f72b74a58 100644 (file)
@@ -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;