]> git.sur5r.net Git - u-boot/blobdiff - board/utx8245/utx8245.c
rename CFG_ENV_IS_IN_NVRAM in CONFIG_ENV_IS_IN_NVRAM
[u-boot] / board / utx8245 / utx8245.c
index d870c9fcd84951315bedbbc90b665a9b9f1e8a7c..e7ca669c14f3e18bcd07723611b57c6694caece6 100644 (file)
@@ -32,6 +32,7 @@
 #include <asm/io.h>
 #include <asm/mmu.h>
 #include <pci.h>
+#include <netdev.h>
 
 #define        SAVE_SZ 32
 
@@ -46,7 +47,7 @@ int checkboard(void)
 }
 
 
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        long size;
        long new_bank0_end;
@@ -67,7 +68,7 @@ long int initdram(int board_type)
        emear1 = (emear1 & 0xFFFF0000) |
                ((new_bank0_end & MICR_EADDR_MASK) >> MICR_EADDR_SHIFT) |
                ((new_bank1_end & MICR_EADDR_MASK) >> MICR_EADDR_SHIFT << 8);
-               
+
        mpc824x_mpc107_setreg(MEAR1, mear1);
        mpc824x_mpc107_setreg(EMEAR1, emear1);
 
@@ -127,3 +128,8 @@ void pci_init_board (void)
 
        icache_enable();
 }
+
+int board_eth_init(bd_t *bis)
+{
+       return pci_eth_init(bis);
+}