Lines Matching full:eeprom
3 * Library to support early TI EVM EEPROM handling
11 /* TI EEPROM MAGIC Header identifier */
30 * @mac_addr: Any MAC addresses written in the EEPROM
32 * The data is this structure is read from the EEPROM on the board.
46 /* DRA7 EEPROM MAGIC Header identifier */
62 * The data is this structure is read from the EEPROM on the board.
78 * struct ti_common_eeprom - Null terminated, usable EEPROM contents.
103 * ti_i2c_eeprom_am_get() - Consolidated eeprom data collection for AM* TI EVMs
113 * ti_i2c_eeprom_dra7_get() - Consolidated eeprom data for DRA7 TI EVMs
121 * @name_tag: Tag used in eeprom for the board
123 * Return: false if board information does not match OR eeprom wasn't read.
130 * @rev_tag: Revision tag to check in eeprom
135 * Return: false if board information does not match OR eeprom wasn't read.
143 * Return: Empty string if eeprom wasn't read.
151 * Return: Empty string if eeprom wasn't read.
159 * Return: Empty string if eeprom wasn't read.
165 * board_ti_get_eth_mac_addr() - Get Ethernet MAC address from EEPROM MAC list
169 * Does not sanity check the mac_addr. Whatever is stored in EEPROM is returned.
176 * Return: NULL if eeprom wasn't read or emif1_size is not available.
183 * Return: NULL if eeprom wasn't read or emif2_size is not available.
196 * board_ti_set_ethaddr- Sets the ethaddr environment from EEPROM
199 * EEPROM should be already read before calling this function.
200 * The EEPROM contains 2 MAC addresses which define the MAC address
208 * board_ti_was_eeprom_read() - Check to see if the eeprom contents have been read
210 * This function is useful to determine if the eeprom has already been read and
212 * number that the header value is set to upon successful eeprom read.
217 * ti_i2c_eeprom_am_set() - Setup the eeprom data with predefined values
221 * In some cases such as in RTC-only mode, we are able to skip reading eeprom
226 * NOTE: many eeprom information such as serial number, mac address etc is not