[coreboot-gerrit] New patch to review for coreboot: 66f162a AMD 00730F01: Topology changes required by KaveriPI v1.1.0.7 update

Bruce Griffith (Bruce.Griffith@se-eng.com) gerrit at coreboot.org
Tue Dec 9 10:06:16 CET 2014


Bruce Griffith (Bruce.Griffith at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7727

-gerrit

commit 66f162a7439e98997db9f16113a26fef48de5c72
Author: Bruce Griffith <Bruce.Griffith at se-eng.com>
Date:   Mon Dec 8 01:43:23 2014 -0700

    AMD 00730F01: Topology changes required by KaveriPI v1.1.0.7 update
    
    The updated KaveriPI binary, upgrading to v1.1.0.7, requires changes
    to define the PSP device (PCI 0:08.0) and the IOMMU device (PCI 0:00.2).
    In the new AGESA binary, the IOMMU device is enabled and must be
    disabled in devicetree.cb and agesawrapper_amdinitenv() to maintain
    the same level of functionality.
    
    Change-Id: I3f47e0bd5a75729ec1e4b7b11885d0622c474342
    Signed-off-by: Bruce Griffith <Bruce.Griffith at se-eng.com>
---
 src/mainboard/amd/olivehillplus/agesawrapper.c | 2 ++
 src/mainboard/amd/olivehillplus/devicetree.cb  | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/src/mainboard/amd/olivehillplus/agesawrapper.c b/src/mainboard/amd/olivehillplus/agesawrapper.c
index fb38b6a..0cc2ebe 100644
--- a/src/mainboard/amd/olivehillplus/agesawrapper.c
+++ b/src/mainboard/amd/olivehillplus/agesawrapper.c
@@ -278,6 +278,8 @@ AGESA_STATUS agesawrapper_amdinitenv(void)
 	status = AmdCreateStruct (&AmdParamStruct);
 	EnvParam = (AMD_ENV_PARAMS *)AmdParamStruct.NewStructPtr;
 
+	EnvParam->GnbEnvConfiguration.IommuSupport = FALSE;
+
 	status = AmdInitEnv (EnvParam);
 	if (status != AGESA_SUCCESS) agesawrapper_amdreadeventlog(EnvParam->StdHeader.HeapStatus);
 	/* Initialize Subordinate Bus Number and Secondary Bus Number
diff --git a/src/mainboard/amd/olivehillplus/devicetree.cb b/src/mainboard/amd/olivehillplus/devicetree.cb
index 3c5e38f..65f7ee4 100644
--- a/src/mainboard/amd/olivehillplus/devicetree.cb
+++ b/src/mainboard/amd/olivehillplus/devicetree.cb
@@ -29,6 +29,7 @@ chip northbridge/amd/pi/00730F01/root_complex
 
 			chip northbridge/amd/pi/00730F01 # PCI side of HT root complex
 				device pci 0.0 on  end # Root Complex
+				device pci 0.2 off end # IOMMU
 				device pci 1.0 on  end # Internal Graphics P2P bridge 0x9804
 				device pci 1.1 on  end # Internal Multimedia
 				device pci 2.0 on  end # PCIe Host Bridge
@@ -37,6 +38,7 @@ chip northbridge/amd/pi/00730F01/root_complex
 				device pci 2.3 on  end # Realtek NIC
 				device pci 2.4 on  end # Edge Connector
 				device pci 2.5 on  end # Edge Connector
+				device pci 8.0 on  end # Platform Security Processor
 			end	#chip northbridge/amd/pi/00730F01
 
 			chip southbridge/amd/pi/avalon # it is under NB/SB Link, but on the same pci bus
@@ -57,6 +59,7 @@ chip northbridge/amd/pi/00730F01/root_complex
 				device pci 14.2 on  end # HDA	0x4383
 				device pci 14.3 on  end # LPC	0x439d
 				device pci 14.7 on  end # SD
+				device pci 16.0 on  end # USB
 			end	#chip southbridge/amd/pi/avalon
 
 			device pci 18.0 on  end



More information about the coreboot-gerrit mailing list