diff options
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/cmd_chip_config.c')
| -rw-r--r-- | arch/powerpc/cpu/ppc4xx/cmd_chip_config.c | 21 | 
1 files changed, 2 insertions, 19 deletions
| diff --git a/arch/powerpc/cpu/ppc4xx/cmd_chip_config.c b/arch/powerpc/cpu/ppc4xx/cmd_chip_config.c index 72c5aec70..4e9a40d58 100644 --- a/arch/powerpc/cpu/ppc4xx/cmd_chip_config.c +++ b/arch/powerpc/cpu/ppc4xx/cmd_chip_config.c @@ -5,24 +5,7 @@   * (C) Copyright 2009   * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.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 <common.h> @@ -56,7 +39,7 @@ static int do_chip_config(cmd_tbl_t *cmdtp, int flag, int argc, char * const arg  	 * First switch to correct I2C bus. This is I2C bus 0  	 * for all currently available 4xx derivats.  	 */ -	I2C_SET_BUS(0); +	i2c_set_bus_num(0);  #ifdef CONFIG_CMD_EEPROM  	ret = eeprom_read(CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR, |