X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fsandpoint%2Fsandpoint.c;h=bb01d73bdecb4161ec312b6679aff6f87da97b2f;hb=84dee301c30d728f97c85f795661804980fb0c77;hp=aeb10a74347e721cbae6153d2fde87320106450b;hpb=0ad4770f8eb052a84800925ea4ab342cfc10dc32;p=u-boot diff --git a/board/sandpoint/sandpoint.c b/board/sandpoint/sandpoint.c index aeb10a7434..bb01d73bde 100644 --- a/board/sandpoint/sandpoint.c +++ b/board/sandpoint/sandpoint.c @@ -24,6 +24,7 @@ #include #include #include +#include int checkboard (void) { @@ -50,14 +51,14 @@ int checkflash (void) } #endif -long int initdram (int board_type) +phys_size_t initdram (int board_type) { long size; long new_bank0_end; long mear1; long emear1; - size = get_ram_size(CFG_SDRAM_BASE, CFG_MAX_RAM_SIZE); + size = get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_MAX_RAM_SIZE); new_bank0_end = size - 1; mear1 = mpc824x_mpc107_getreg(MEAR1); @@ -99,3 +100,8 @@ void pci_init_board(void) { pci_mpc824x_init(&hose); } + +int board_eth_init(bd_t *bis) +{ + return pci_eth_init(bis); +}