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