<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hello,<div><br></div><div>It seems that some drivers in drivers/misc/eeprom does support write access. For example at24.c seems to have a function at24_write().</div><div><br></div><div><a href="https://github.com/torvalds/linux/blob/master/drivers/misc/eeprom/at24.c">https://github.com/torvalds/linux/blob/master/drivers/misc/eeprom/at24.c</a></div><div><br></div><div>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.</div><div><br></div><div>Point me out if I am wrong. </div><div><br></div><div>Chriz</div><div><br><div id="AppleMailSignature" dir="ltr">Enviado desde mi iPhone</div><div dir="ltr"><br>El 19 nov 2018, a las 9:12 p. m., Ruben Safir <<a href="mailto:ruben@mrbrklyn.com">ruben@mrbrklyn.com</a>> escribió:<br><br></div><blockquote type="cite"><div dir="ltr"><span>On 11/19/18 7:08 AM, Ranran wrote:</span><br><blockquote type="cite"><span>Hello,</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>What is the reason that kernel driver of eeprom is configured only as</span><br></blockquote><blockquote type="cite"><span>read-only ?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Is it because the BIOS is stored there ?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Is there a way to make it writable ?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Thank you,</span><br></blockquote><blockquote type="cite"><span>Ran</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>Kernelnewbies mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a></span><br></blockquote><blockquote type="cite"><span><a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><span></span><br><span></span><br><span>because the ROM is read only?</span><br><span></span><br><span></span><br><span>-- </span><br><span>So many immigrant groups have swept through our town</span><br><span>that Brooklyn, like Atlantis, reaches mythological</span><br><span>proportions in the mind of the world - RI Safir 1998</span><br><span><a href="http://www.mrbrklyn.com">http://www.mrbrklyn.com</a></span><br><span>DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002</span><br><span></span><br><span><a href="http://www.nylxs.com">http://www.nylxs.com</a> - Leadership Development in Free Software</span><br><span><a href="http://www.brooklyn-living.com">http://www.brooklyn-living.com</a></span><br><span></span><br><span>Being so tracked is for FARM ANIMALS and and extermination camps,</span><br><span>but incompatible with living as a free human being. -RI Safir 2013</span><br><span></span><br><span>_______________________________________________</span><br><span>Kernelnewbies mailing list</span><br><span><a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a></span><br><span><a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a></span><br></div></blockquote></div></body></html>