Hello, It seems that some drivers in drivers/misc/eeprom does support write access. For example at24.c seems to have a function at24_write(). https://github.com/torvalds/linux/blob/master/drivers/misc/eeprom/at24.c However some drivers doesn’t have write support, I believe it is because of simplicity - some eeprom are used for read only, such as ddr4 spd eeprom. Point me out if I am wrong. Chriz Enviado desde mi iPhone
El 19 nov 2018, a las 9:12 p. m., Ruben Safir <ruben@mrbrklyn.com> escribió:
On 11/19/18 7:08 AM, Ranran wrote: Hello,
What is the reason that kernel driver of eeprom is configured only as read-only ?
Is it because the BIOS is stored there ?
Is there a way to make it writable ?
Thank you, Ran
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
because the ROM is read only?
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies