[U-Boot] [PATCH] board/common: Add support for QIXIS read/write using i2c
Andy Fleming
afleming at gmail.com
Wed Jan 23 23:06:07 CET 2013
>
> +u8 qixis_read_i2c(unsigned int reg)
> +{
> + return i2c_reg_read(CONFIG_SYS_I2C_FPGA_ADDR, reg);
> +}
> +
> +void qixis_write_i2c(unsigned int reg, u8 value)
> +{
> + u8 val = value;
> + i2c_reg_write(CONFIG_SYS_I2C_FPGA_ADDR, reg, val);
> +}
> +
This breaks ALL other boards with QIXIS, as they don't all define
CONFIG_SYS_I2C_FPGA_ADDR.
More information about the U-Boot
mailing list