
11 Nov
2016
11 Nov
'16
8:13 p.m.
Hi Maxime,
On Fri, Nov 11, 2016 at 8:17 AM, Simon Glass sjg@chromium.org wrote:
Hi Maxime,
On 8 November 2016 at 03:19, Maxime Ripard maxime.ripard@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