diff options
author | Cooper Jr., Franklin <fcooper@ti.com> | 2017-06-16 17:25:08 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-10 14:25:53 -0400 |
commit | 69e8d4ba7f183fcde32ffff1f3136cd10c30dda9 (patch) | |
tree | 5696d7246dc343159c6690b8a8949db0e257520f /dts | |
parent | 2059ecf30f389ec0e396fccc067f6f9fecb36a2c (diff) | |
download | u-boot-69e8d4ba7f183fcde32ffff1f3136cd10c30dda9.zip u-boot-69e8d4ba7f183fcde32ffff1f3136cd10c30dda9.tar.gz u-boot-69e8d4ba7f183fcde32ffff1f3136cd10c30dda9.tar.bz2 |
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>
Diffstat (limited to 'dts')
0 files changed, 0 insertions, 0 deletions