Hi Maxime, On Fri, Nov 11, 2016 at 8:17 AM, Simon Glass <s...@chromium.org> wrote: > Hi Maxime, > > On 8 November 2016 at 03:19, Maxime Ripard > <maxime.rip...@free-electrons.com> wrote: >> We might want to access data stored onto EEPROMs. Create a framework to >> provide a consistent API. > > We have UCLASS_I2C_EEPROM. Can we unify these? If not, please add a > sandbox driver and test.
I've been working on something very similar (the API looks the same obviously, since the ops are pretty trivial, modulo function names) In my opinion it should be working as follows: UCLASS_EEPROM \... I2C_EEPROM \....SPI_EEPROM (AT25) I also have some code to make the CMD_EEPROM stuff work, I'll submit a follow up patch, once we agreed on how the UCLASS_EEPROM looks like. Cheers, Moritz _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot