X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fopenrisc%2Flib%2Fboard.c;h=b7fbd2f125305f21802a68f8a32be312fb33a7fe;hb=b72ae192e39f933100b0eb034768cb4daeebf67a;hp=630e45fdb178c0e9fe4171c6c62e9d3eb76a87ac;hpb=cac423a730d3506154744485af1bbc1cd3a1e6a8;p=u-boot diff --git a/arch/openrisc/lib/board.c b/arch/openrisc/lib/board.c index 630e45fdb1..b7fbd2f125 100644 --- a/arch/openrisc/lib/board.c +++ b/arch/openrisc/lib/board.c @@ -9,26 +9,11 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * - * 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 #include @@ -100,7 +85,6 @@ void board_init(void) bd->bi_sramstart = CONFIG_SYS_SRAM_BASE; bd->bi_sramsize = CONFIG_SYS_SRAM_SIZE; #endif - bd->bi_baudrate = CONFIG_BAUDRATE; for (i = 0; i < ARRAY_SIZE(init_sequence); i++) { WATCHDOG_RESET(); @@ -145,7 +129,7 @@ void board_init(void) #if defined(CONFIG_CMD_NET) puts("NET: "); - eth_initialize(bd); + eth_initialize(); #endif /* main_loop */