[U-Boot] [PATCH 05/31] ti: common: board_detect: Add function to determine if EEPROM was read
Tom Rini
trini at konsulko.com
Thu Mar 9 13:08:06 UTC 2017
On Thu, Mar 02, 2017 at 01:04:09PM -0600, Franklin S Cooper Jr wrote:
> 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 at ti.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170309/7b3505a2/attachment.sig>
More information about the U-Boot
mailing list