X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Flwmon%2Flwmon.c;h=225b1ef25827d16a834a34724a783a43e565da43;hb=5a4fe1aaf1210b02bb98e347993ffbcffeb4ffaa;hp=34c6675fd8a13243f98681f325c492190e0cd875;hpb=9a32084ea0cf55d22384f083002ee9932e074f31;p=u-boot diff --git a/board/lwmon/lwmon.c b/board/lwmon/lwmon.c index 34c6675fd8..225b1ef258 100644 --- a/board/lwmon/lwmon.c +++ b/board/lwmon/lwmon.c @@ -12,23 +12,7 @@ D* Design: wd@denx.de C* Coding: wd@denx.de V* Verification: dzu@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+ ***********************************************************************/ /*---------------------------- Headerfiles ----------------------------*/ @@ -480,7 +464,7 @@ static void kbd_init (void) uchar val, errcd; int i; - i2c_init (CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); + i2c_set_bus_num(0); gd->arch.kbd_status = 0;