
11 Nov
2019
11 Nov
'19
4:08 p.m.
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@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