when read device ID in uboot , it failed, I also check the i2c addr of new pmu, it also is 0x8, so when we change pmu ,we needn't change uboot code, right?
static int setup_pmic_voltages(void)
{
unsigned char value, rev_id = 0 ;
i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
if (!i2c_probe(0x8)) {
if (i2c_read(0x8, 0, 1, &value, 1)) {
printf("Read device ID error!\n");
return -1;
}