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

From: Wolfram Sang
Date: Tue Apr 21 2020 - 08:17:03 EST



> > Yes, it might be easiest if he merges your patch (with attribution) into
> > the else branch of his fw-load patch.
> >
>
> OK, so to summarize, I should update my patch to use
> device_property_read_string() instead and also init the memory to 0XFF if no
> file is present. And change name of the function to

Or something else went wrong.

> i2c_slave_init_eeprom_data.

Yes, that is my idea. You also need to replace checking for an of_node
with some equivalent for device properties maybe, but that should be
easy to find out.

> I will look into that and let you know once I'm done.

Thank you!

Attachment: signature.asc
Description: PGP signature