summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorCooper Jr., Franklin <fcooper@ti.com>2017-06-16 22:25:08 (GMT)
committerTom Rini <trini@konsulko.com>2017-07-10 18:25:53 (GMT)
commit69e8d4ba7f183fcde32ffff1f3136cd10c30dda9 (patch)
tree5696d7246dc343159c6690b8a8949db0e257520f /dts
parent2059ecf30f389ec0e396fccc067f6f9fecb36a2c (diff)
downloadu-boot-fsl-qoriq-69e8d4ba7f183fcde32ffff1f3136cd10c30dda9.tar.xz
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