<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Hello,<br><br><br>Here's a patch for using SPI from AMD SouthBridge (SB700, SP5100, ...) without having issue with Integrated MicroControler  (IMC) .<br><br>This issue has been reported by Carl-Daniel Hailfinger in ChangeSet 1173<br><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><a target="_blank" class="moz-txt-link-freetext" href="http://flashrom.org/trac/flashrom/changeset/1173">http://flashrom.org/trac/flashrom/changeset/1173</a></font></font><br><br>AMD is now providing details about SP5100 register in document 44413:<br><br><a class="moz-txt-link-freetext" href="http://support.amd.com/us/Embedded_TechDocs/44413.pdf">http://support.amd.com/us/Embedded_TechDocs/44413.pdf</a><br><br>In this document (rev 3.02), we can see that a register is in charge of managing access to LPC (p 271 and 283)<br><br><br>=> with this patch, we take LPC ownership before each set of commands to SPI.<br>Ownership is released when command is done.<br><br><br>I did a test by reading BIOS in flash, and this is working nicely (without this patch, I wasn't able to read the BIOS).<br>Now, I don't have components to restore the BIOS in case of failure, so write test hasn't been done (yet)...<br><br>Note: this patch doesn't remove the write protection,<br>I'll sent a second patch which will remove this protection<br><br>Best regards<br><br>--<br>Fred<br></font> <div></div></font>