[coreboot-gerrit] New patch to review for coreboot: 40d7d14 AMD Thatcher: ConnectorTypeDP supports both DP and HDMI

Siyuan Wang (wangsiyuanbuaa@gmail.com) gerrit at coreboot.org
Mon Apr 15 11:51:07 CEST 2013


Siyuan Wang (wangsiyuanbuaa at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3088

-gerrit

commit 40d7d1435d002a001138d62dbc429e7db31c0c1e
Author: Siyuan Wang <wangsiyuanbuaa at gmail.com>
Date:   Mon Apr 15 17:58:57 2013 +0800

    AMD Thatcher: ConnectorTypeDP supports both DP and HDMI
    
    It seems that ConnectorTypeDP in DdiList supports both DP and HDMI monitors.
    I tested by DP monitor and HDMI monitor connected by passive DP->HDMI adapter.
    Video and audio are OK. Hot plagging is also supported.
    
    Change-Id: I23cf1c69a8274f47daf56f1a12aafd88bad4a128
    Signed-off-by: Siyuan Wang <SiYuan.Wang at amd.com>
    Signed-off-by: Siyuan Wang <wangsiyuanbuaa at gmail.com>
---
 src/mainboard/amd/thatcher/PlatformGnbPcie.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/mainboard/amd/thatcher/PlatformGnbPcie.c b/src/mainboard/amd/thatcher/PlatformGnbPcie.c
index ade2840..c571cdf 100644
--- a/src/mainboard/amd/thatcher/PlatformGnbPcie.c
+++ b/src/mainboard/amd/thatcher/PlatformGnbPcie.c
@@ -130,7 +130,6 @@ OemCustomizeInitEarly (
 	VOID                 *TrinityPcieComplexListPtr;
 	VOID                 *TrinityPciePortPtr;
 	VOID                 *TrinityPcieDdiPtr;
-	UINT8                Value;
 
 	ALLOCATE_HEAP_PARAMS AllocHeapParams;
 
@@ -177,13 +176,6 @@ OemCustomizeInitEarly (
 
 	LibAmdMemCopy  (TrinityPcieComplexListPtr, &Trinity, sizeof (PCIe_COMPLEX_DESCRIPTOR), &InitEarly->StdHeader);
 	LibAmdMemCopy  (TrinityPciePortPtr, &PortList[0], sizeof (PCIe_PORT_DESCRIPTOR) * 7, &InitEarly->StdHeader);
-
-	LibAmdMemRead (AccessWidth8, ACPI_MMIO_BASE + GPIO_BASE + 50, &Value, &InitEarly->StdHeader);
-	if (!(Value & 0x80))
-		DdiList[0].Ddi.ConnectorType = ConnectorTypeHDMI;
-	LibAmdMemRead (AccessWidth8, ACPI_MMIO_BASE + GPIO_BASE + 51, &Value, &InitEarly->StdHeader);
-	if (!(Value & 0x80))
-		DdiList[1].Ddi.ConnectorType = ConnectorTypeHDMI;
 	LibAmdMemCopy  (TrinityPcieDdiPtr, &DdiList[0], sizeof (PCIe_DDI_DESCRIPTOR) * 3, &InitEarly->StdHeader);
 
 	((PCIe_COMPLEX_DESCRIPTOR*)TrinityPcieComplexListPtr)->PciePortList =  (PCIe_PORT_DESCRIPTOR*)TrinityPciePortPtr;



More information about the coreboot-gerrit mailing list