[U-Boot] [PATCH v2 41/41] common: Move old EEPROM functions into a new header

Tom Rini trini at konsulko.com
Mon Nov 11 15:08:17 UTC 2019


On Fri, Nov 08, 2019 at 12:53:48PM -0700, Simon Glass wrote:

> These functions do not use driver model but are still used. Move them to a
> new eeprom_legacy.h header file.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

I'm not sure if calling this legacy is correct or not as well.  Looking
over cmd/eeprom.c it unwinds to "use DM for i2c if available, not if
not".  It could be enhanced in the future to handle non-i2c eeproms
perhaps, yes.  And then consolidate this with drivers/misc/i2c_eeprom.c
should also be done.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191111/2d4d29c6/attachment.sig>


More information about the U-Boot mailing list