X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fboard_r.c;h=6b297068bd2e35acd29924362dfbae5878a13e45;hb=29b921b86c233eca7427e8974be2a9c6888c4dfa;hp=6349e86f71ae0f07b81e0991175843856a82daaf;hpb=92f84b67e5f259bb5805706a216d4605c37862bc;p=u-boot diff --git a/common/board_r.c b/common/board_r.c index 6349e86f71..6b297068bd 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2011 The Chromium OS Authors. * (C) Copyright 2002-2006 @@ -6,8 +7,6 @@ * (C) Copyright 2002 * Sysgo Real-Time Solutions, GmbH * Marius Groeger - * - * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -23,10 +22,6 @@ #include #include #include -#include -#ifdef CONFIG_PS2KBD -#include -#endif #if defined(CONFIG_CMD_KGDB) #include #endif @@ -390,8 +385,8 @@ static int initr_flash(void) #if defined(CONFIG_PPC) && !defined(CONFIG_DM_SPI) static int initr_spi(void) { - /* PPC does this here */ -#ifdef CONFIG_SPI + /* MPC8xx does this here */ +#ifdef CONFIG_MPC8XX_SPI #if !defined(CONFIG_ENV_IS_IN_EEPROM) spi_init_f(); #endif @@ -642,15 +637,6 @@ static int initr_bedbug(void) } #endif -#ifdef CONFIG_PS2KBD -static int initr_kbd(void) -{ - puts("PS/2: "); - kbd_init(); - return 0; -} -#endif - static int run_main_loop(void) { #ifdef CONFIG_SANDBOX @@ -664,7 +650,7 @@ static int run_main_loop(void) /* * Over time we hope to remove these functions with code fragments and - * stub funtcions, and instead call the relevant function directly. + * stub functions, and instead call the relevant function directly. * * We also hope to remove most of the driver-related init and do it if/when * the driver is later used. @@ -858,9 +844,6 @@ static init_fnc_t init_sequence_r[] = { #endif #if defined(CONFIG_PRAM) initr_mem, -#endif -#ifdef CONFIG_PS2KBD - initr_kbd, #endif run_main_loop, };