X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fppmc7xx%2Fppmc7xx.c;h=944cd4ddc6c89fa929f8d35bd247f60fa43f5771;hb=86caca1cd97ba71b7a7c82f2b0163682df35ce5d;hp=402ac5e20198b6c0b961bcc90fb4654ddc76f4be;hpb=3754d6987cac587ba9278cb679d6d70d286dde76;p=u-boot diff --git a/board/ppmc7xx/ppmc7xx.c b/board/ppmc7xx/ppmc7xx.c index 402ac5e201..944cd4ddc6 100644 --- a/board/ppmc7xx/ppmc7xx.c +++ b/board/ppmc7xx/ppmc7xx.c @@ -10,6 +10,7 @@ #include #include +#include /* Define some MPC107 (memory controller) registers */ @@ -29,9 +30,9 @@ extern void _start_warm(void); * the SDRAM was already initialised by board_asm_init (see init.S) so we just * return the size of RAM. */ -long initdram( int board_type ) +phys_size_t initdram( int board_type ) { - return CFG_SDRAM_SIZE; + return CONFIG_SYS_SDRAM_SIZE; } @@ -102,3 +103,8 @@ void do_reset( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[] ) /* Should never get here */ while(1); } + +int board_eth_init(bd_t *bis) +{ + return pci_eth_init(bis); +}