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 <s...@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
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot