Searched refs:am_ep (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/board/ti/common/ |
H A D | board_detect.c | 198 struct ti_am_eeprom am_ep; in ti_i2c_eeprom_am_get() local 215 sizeof(am_ep), (uint8_t *)&am_ep); in ti_i2c_eeprom_am_get() 219 ep->header = am_ep.header; in ti_i2c_eeprom_am_get() 220 strlcpy(ep->name, am_ep.name, TI_EEPROM_HDR_NAME_LEN + 1); in ti_i2c_eeprom_am_get() 224 if (am_ep.version[0] == 0x1a && am_ep.version[1] == 0x00 && in ti_i2c_eeprom_am_get() 225 am_ep.version[2] == 0x00 && am_ep.version[3] == 0x00) in ti_i2c_eeprom_am_get() 228 strlcpy(ep->version, am_ep.version, TI_EEPROM_HDR_REV_LEN + 1); in ti_i2c_eeprom_am_get() 230 strlcpy(ep->serial, am_ep.serial, TI_EEPROM_HDR_SERIAL_LEN + 1); in ti_i2c_eeprom_am_get() 232 strlcpy(ep->config, am_ep.config, TI_EEPROM_HDR_CONFIG_LEN + 1); in ti_i2c_eeprom_am_get() 235 memcpy(ep->mac_addr, am_ep.mac_addr, in ti_i2c_eeprom_am_get()
|