Re: [PATCH 1/2] i2c: slave-eeprom: initialize empty eeprom properly

2019-10-01 Thread Bjorn Ardo
Hi, I sent in another patch earlier that added support for specifying a file in devicetree to initilize the eeprom from, corresponding to the case of pre-flashed eeprom. Maybe these two patches should be merged so this initialization is only done if no file is specified? /BA On 10/1/19 6:

[PATCH 1/2] i2c: slave-eeprom: initialize empty eeprom properly

2019-10-01 Thread Patrick Williams
The i2c-slave-eeprom driver emulates at24 class eeprom devices, which come initialized with all 1s. Do the same in the software emulation. Signed-off-by: Patrick Williams --- drivers/i2c/i2c-slave-eeprom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/i2c-slave-eeprom.c b/dr