
Hi Moritz,
On Fri, Nov 11, 2016 at 11:13:39AM -0800, Moritz Fischer wrote:
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 agree. Different board variations might be using different buses to store the same data, and it's all EEPROM anyway.
Maxime