Home
last modified time | relevance | path

Searched hist:"69 e8d4ba7f183fcde32ffff1f3136cd10c30dda9" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/board/ti/common/
H A Dboard_detect.h69e8d4ba7f183fcde32ffff1f3136cd10c30dda9 Fri Jun 16 22:25:08 UTC 2017 Cooper Jr., Franklin <fcooper@ti.com> ti: common: board_detect: Add function to determine if EEPROM was read

When the EEPROM is first read its contents are stored in memory as a
cache to avoid further I2C operations. To determine if the EEPROM was
previously read the easiest way is to check the memory to see if the
EEPROM's magic header value is set. Create a new function that can
determine if the EEPROM was previously read or not without having to
perform a I2C transaction.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
H A Dboard_detect.c69e8d4ba7f183fcde32ffff1f3136cd10c30dda9 Fri Jun 16 22:25:08 UTC 2017 Cooper Jr., Franklin <fcooper@ti.com> ti: common: board_detect: Add function to determine if EEPROM was read

When the EEPROM is first read its contents are stored in memory as a
cache to avoid further I2C operations. To determine if the EEPROM was
previously read the easiest way is to check the memory to see if the
EEPROM's magic header value is set. Create a new function that can
determine if the EEPROM was previously read or not without having to
perform a I2C transaction.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>