From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 11 Nov 2019 10:08:17 -0500 Subject: [U-Boot] [PATCH v2 41/41] common: Move old EEPROM functions into a new header In-Reply-To: <20191108125120.v2.41.Ie3ccf685b6e2d4a0152740a4b4cde164da52447c@changeid> References: <20191108195348.110648-1-sjg@chromium.org> <20191108125120.v2.41.Ie3ccf685b6e2d4a0152740a4b4cde164da52447c@changeid> Message-ID: <20191111150817.GE19317@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: