mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
mpc83xx: suppress unused variable 'val8' warning
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
This commit is contained in:
parent
bbea46f76f
commit
5aa4ad8d8e
@ -22,9 +22,10 @@ int pib_init(void)
|
|||||||
/* Switch temporarily to I2C bus #2 */
|
/* Switch temporarily to I2C bus #2 */
|
||||||
orig_i2c_bus = i2c_get_bus_num();
|
orig_i2c_bus = i2c_get_bus_num();
|
||||||
i2c_set_bus_num(1);
|
i2c_set_bus_num(1);
|
||||||
|
|
||||||
|
val8 = 0;
|
||||||
#if defined(CONFIG_PCI) && !defined(CONFIG_PCISLAVE)
|
#if defined(CONFIG_PCI) && !defined(CONFIG_PCISLAVE)
|
||||||
/* Assign PIB PMC slot to desired PCI bus */
|
/* Assign PIB PMC slot to desired PCI bus */
|
||||||
val8 = 0;
|
|
||||||
i2c_write(0x23, 0x6, 1, &val8, 1);
|
i2c_write(0x23, 0x6, 1, &val8, 1);
|
||||||
i2c_write(0x23, 0x7, 1, &val8, 1);
|
i2c_write(0x23, 0x7, 1, &val8, 1);
|
||||||
val8 = 0xff;
|
val8 = 0xff;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user