X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fmusenki%2Fmusenki.c;h=aa92fc4281056802bd4a11b8c53605759c94b4a1;hb=1a4596601fd395f3afb8f82f3f840c5e00bdd57a;hp=4408b07c5531a7460700b252a1e9debe721388cc;hpb=0ad4770f8eb052a84800925ea4ab342cfc10dc32;p=u-boot diff --git a/board/musenki/musenki.c b/board/musenki/musenki.c index 4408b07c55..aa92fc4281 100644 --- a/board/musenki/musenki.c +++ b/board/musenki/musenki.c @@ -2,28 +2,13 @@ * (C) Copyright 2001 * Rob Taylor, Flying Pig Systems. robt@flyingpig.com. * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ #include #include #include +#include int checkboard (void) { @@ -45,14 +30,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); @@ -102,3 +87,8 @@ void pci_init_board(void) { pci_mpc824x_init(&hose); } + +int board_eth_init(bd_t *bis) +{ + return pci_eth_init(bis); +}