<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6470</bug_id>
          
          <creation_ts>2014-06-20 16:14:27 +0000</creation_ts>
          <short_desc>Specify ACPI SPI UID=0</short_desc>
          <delta_ts>2014-07-10 23:21:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>12</classification_id>
          <classification>Hardware Platforms</classification>
          <product>MinnowBoard MAX Firmware</product>
          <component>minnowmax-edk2</component>
          <version>unspecified</version>
          <rep_platform>MinnowBoard Max</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Production Release</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>sjolley.yp.pm</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44127</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-06-20 16:14:27 +0000</bug_when>
    <thetext>The SPI bus number changes in the OS depending on if we are using PCI or ACPI enumeration. Currently PCI=0 and ACPI=32766. This is due to ACPI being dynamically numbered as the firmware does not specify the UID for the ACPI SPI master device.

Please update the ACPI table to specify a UID of 0 for the SPI device:

  Device (SPI0)
  {
  	Name(_HID, &quot;80860F0E&quot;)
	Name(_UID, &quot;0&quot;)
	...
  }

This will allow us to use the same SPI test driver for ACPI and PCI enumeration. It will also avoid unnecessary confusion for our users, and reduce the support and documentation burden on us.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44130</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-06-20 16:47:06 +0000</bug_when>
    <thetext>For the MinnowMax firmware, this is the SPI1 device (there is no SPI0 device):

        Device (SPI1)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Name (_HID, &quot;80860F0E&quot;)  // _HID: Hardware ID
            Name (_CID, &quot;80860F0E&quot;)  // _CID: Compatible ID

Can we add:

            Name (_UID, &quot;0&quot;)  // Static bus number assignment</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44308</commentid>
    <comment_count>2</comment_count>
    <who name="He, Tim">tim.he</who>
    <bug_when>2014-07-03 08:02:28 +0000</bug_when>
    <thetext>the issue should be fixed by MNW2_IFWI_X64_R_2014_07_02_1150_SecEnabled.bin drop. Darren, please test and verify it at your end.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44436</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-07-10 23:20:51 +0000</bug_when>
    <thetext>Fixed in 07-10 firmware image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44437</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-07-10 23:21:34 +0000</bug_when>
    <thetext>.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>