On Sat, Sep 21, 2013 at 8:31 PM, Po Liu <po....@freescale.com> wrote:
> +void get_spd(generic_spd_eeprom_t *spd, u8 i2c_address) > +{ > + int ret = i2c_read(i2c_address, 0, 2, (uchar *)spd, (uchar) is wrong. int i2c_read(uint8_t chip, unsigned int addr, int alen, uint8_t *buffer, int len); The type for this parameter is uint8_t. The proper fix is to change the i2c_read() function should be changed to take a void*. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot