[U-Boot] [U-Boot, v4, 05/30] ti: common: board_detect: Add function to determine if EEPROM was read

Tom Rini trini at konsulko.com
Tue Jul 11 12:38:25 UTC 2017


On Fri, Jun 16, 2017 at 05:25:08PM -0500, Cooper Jr., Franklin 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>

Applied to u-boot/master, thanks!

-- 
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/20170711/433b3820/attachment.sig>


More information about the U-Boot mailing list