[coreboot-gerrit] Patch set updated for coreboot: 3082df6 baytrail: Expose IOSF as ACPI object

Aaron Durbin (adurbin@google.com) gerrit at coreboot.org
Mon May 12 16:41:00 CEST 2014


Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5021

-gerrit

commit 3082df6935c9b25b033b597d5f75d57a4cc81766
Author: Duncan Laurie <dlaurie at chromium.org>
Date:   Fri Dec 13 16:43:11 2013 -0800

    baytrail: Expose IOSF as ACPI object
    
    The kernel iosf driver uses HID INT33BD to probe and
    be provided the 12 bytes in PCI for access.
    
    BUG=chrome-os-partner:17279
    BRANCH=none
    TEST=build and boot on rambi, load iosf_mbi driver and
    verify that it gets address 0xe00000d0
    
    Change-Id: I865eafe664f00f21d1ebb967c291083830d895b9
    Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/180098
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/soc/intel/baytrail/acpi/southcluster.asl | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/src/soc/intel/baytrail/acpi/southcluster.asl b/src/soc/intel/baytrail/acpi/southcluster.asl
index cf27a24..ced1618 100644
--- a/src/soc/intel/baytrail/acpi/southcluster.asl
+++ b/src/soc/intel/baytrail/acpi/southcluster.asl
@@ -228,6 +228,27 @@ Method (_OSC, 4)
 	}
 }
 
+/* IOSF MBI Interface for kernel access */
+Device (IOSF)
+{
+	Name (_HID, "INT33BD")
+	Name (_CID, "INT33BD")
+	Name (_UID, 1)
+
+	Name (RBUF, ResourceTemplate ()
+	{
+		/* MCR / MDR / MCRX */
+		Memory32Fixed (ReadWrite, 0, 12, RBAR)
+	})
+
+	Method (_CRS)
+	{
+		CreateDwordField (^RBUF, ^RBAR._BAS, RBAS)
+		Store (Add (MCFG_BASE_ADDRESS, 0xD0), RBAS)
+		Return (^RBUF)
+	}
+}
+
 // LPC Bridge 0:1f.0
 #include "lpc.asl"
 



More information about the coreboot-gerrit mailing list