Home
last modified time | relevance | path

Searched refs:hdr_read (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/board/ti/common/
H A Dboard_detect.c81 u32 hdr_read; in ti_i2c_eeprom_get() local
102 rc = dm_i2c_read(dev, 0, (uint8_t *)&hdr_read, 4); in ti_i2c_eeprom_get()
107 if (hdr_read != header) { in ti_i2c_eeprom_get()
108 rc = dm_i2c_read(dev, 0, (uint8_t *)&hdr_read, 4); in ti_i2c_eeprom_get()
118 rc = dm_i2c_read(dev, 0, (uint8_t *)&hdr_read, 4); in ti_i2c_eeprom_get()
123 if (hdr_read != header) in ti_i2c_eeprom_get()
142 rc = i2c_read(dev_addr, 0x0, byte, (uint8_t *)&hdr_read, 4); in ti_i2c_eeprom_get()
147 if (hdr_read != header) { in ti_i2c_eeprom_get()
148 rc = i2c_read(dev_addr, 0x0, byte, (uint8_t *)&hdr_read, 4); in ti_i2c_eeprom_get()
155 rc = i2c_read(dev_addr, 0x0, byte, (uint8_t *)&hdr_read, in ti_i2c_eeprom_get()
[all …]