<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal">I feel I am going around in circles with this problem. The task at hand is to be able to upgrade coreboot/uefi image in a winbond W25Q64 flash chip from linux. This chip is connected to the PCU SPI interface on the Intel e3805 processor.
 I know coreboot is writing to this chip without problem from the log:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">SF: Got idcode: ef 60 17 00 00 <o:p></o:p></p>
<p class="MsoNormal">SF: Detected W25Q64DW with sector size 0x1000, total 0x800000<o:p></o:p></p>
<p class="MsoNormal">Need to erase the MRC cache region of 65536 bytes at ffd10000<o:p></o:p></p>
<p class="MsoNormal">SF: erase 20 51  0  0 (511000)<o:p></o:p></p>
<p class="MsoNormal">SPI: read 0080 from 0090<o:p></o:p></p>
<p class="MsoNormal">SPI: wrote 000c to 0090<o:p></o:p></p>
<p class="MsoNormal">SPI: wrote 06 to 0098<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However linux is not detecting the flash device or the PCH SPI controller. Disassembling the dsdt table I can see e3800 soc devices such as the HPET and PIC but no PCH SPI. The only SPI device is part of the SIO:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">                Device (SPI1)<o:p></o:p></p>
<p class="MsoNormal">                {<o:p></o:p></p>
<p class="MsoNormal">                    Name (_HID, "80860F0E" /* Intel SPI Controller */)  // _HID: Hardware ID<o:p></o:p></p>
<p class="MsoNormal">                    Name (_UID, One)  // _UID: Unique ID<o:p></o:p></p>
<p class="MsoNormal">                    Name (_DDN, "SPI Controller #2")  // _DDN: DOS Device Name<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My question is does coreboot need to include the PCU SPI controller in the acpi tables and if so how do I do that?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The platform is a custom design but very similar to the Intel Minnow Turbot board.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Many thanks,<o:p></o:p></p>
<p class="MsoNormal">Graham Perkins.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;white-space:normal;"><br /><table cellpadding="0" cellspacing="0" border="0" style="background-color:#FFFFFF;border-collapse:collapse;font-size:0;line-height:16.88px;"><tr><td align="left" style="vertical-align:middle;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr><td align="left" style="border-top:none;border-right:solid 2px #01558A;border-bottom:none;border-left:none;padding:0 10px 0 0;vertical-align:middle;line-height:normal;"><a href="http://www.vocality.com" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image748000.png@7BF3CD2F.5ED1D347" width="255" height="127" border="0" title="Vocality | Cubic Mission Solutions" alt="Vocality | Cubic Mission Solutions" style="min-width:255px;font-size:12px;" /></a></td><td align="left" style="padding:10px 0 10px 10px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:13.5px;color:#606060;font-style:normal;font-weight:bold;text-decoration:none;"><tr><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;">Graham Perkins</td></tr><tr style="font-size:0;line-height:15px;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:12px;color:#808080;font-style:normal;font-weight:bold;text-decoration:none;"><tr><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;">Senior Software Engineer</td><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;white-space:nowrap;">, </td><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;">Vocality | Cubic Mission Solutions</td></tr></table></td></tr></table></td></tr><tr style="line-height:15px;white-space:nowrap;"><td align="left" style="padding:5px 0 10px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:12px;color:#01558A;font-style:normal;font-weight:normal;text-decoration:none;"><tr><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;">T: </td><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;"><a href="tel:+44%201483%20813%20120%20x154" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:none;"><strong style="font-weight:normal;">+44 1483 813 120 x154</strong></a></td></tr></table></td></tr><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:12px;color:#01558A;font-style:normal;font-weight:normal;text-decoration:none;"><tr><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;">E: </td><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;"><a href="mailto:graham.perkins@vocality.com" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:none;"><strong style="font-weight:normal;">graham.perkins@vocality.com</strong></a></td><td align="left" style="vertical-align:top;text-align:left;color:#808080;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;"> | </td><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;">W: </td><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;"><a href="http://www.vocality.com" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:none;"><strong style="font-weight:normal;">www.vocality.com</strong></a></td></tr></table></td></tr><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:12px;color:#01558A;font-style:normal;font-weight:normal;text-decoration:none;"><tr><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;">A: </td><td align="left" style="vertical-align:top;text-align:left;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;"><a href="https://www.google.com/maps/place/Lydling+Farm,+Lydling+Barn,+Puttenham+Lane,+Shackleford,+Surrey,+GU8+6AP" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:none;"><strong style="font-weight:normal;">Lydling Barns, Lydling Farm,<br />Puttenham Lane, Shackleford,<br />Surrey, GU8 6AP</strong></a></td></tr></table></td></tr></table></td></tr><tr style="line-height:normal;"><td align="left" style="vertical-align:top;"><map id="map_f5f13368-9375-445e-bc1f-38cf4316cd85" name="map_f5f13368-9375-445e-bc1f-38cf4316cd85"><area shape="rect" coords="0,0,16,16" href="https://www.facebook.com/Vocality-132586853464768" alt="Facebook" title="Facebook" target="_blank" /><area shape="rect" coords="19,0,35,16" href="https://www.linkedin.com/company/vocality" alt="LinkedIn" title="LinkedIn" target="_blank" /><area shape="rect" coords="38,0,54,16" href="https://twitter.com/vocality" alt="Twitter" title="Twitter" target="_blank" /><area shape="rect" coords="57,0,73,16" href="https://vimeo.com/vocalityinternational" alt="Vimeo" title="Vimeo" target="_blank" /></map><img usemap="#map_f5f13368-9375-445e-bc1f-38cf4316cd85" src="cid:image626001.png@1FBAC568.0848064A" width="76" height="16" border="0" alt="" style="min-width:76px;font-size:0;" /></td></tr></table></td></tr></table></td></tr><tr style="line-height:normal;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr><td align="center" style="vertical-align:middle;"><a href="https://vimeo.com/209210326" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image754002.png@C8D9AA4E.7AD01F4E" width="432" height="114" border="0" alt="" style="min-width:432px;font-size:0;" /></a></td></tr></table></td></tr></table><br /></div></body>
</html>