[coreboot-gerrit] Patch set updated for coreboot: southbridge/amd/sb700: Fix boot hang on ASUS KGPE-D16

Timothy Pearson (tpearson@raptorengineeringinc.com) gerrit at coreboot.org
Sat Oct 24 05:36:38 CEST 2015


Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11938

-gerrit

commit b66c785ceaa5346f94f75042dacd928162232464
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date:   Sat Sep 5 17:46:15 2015 -0500

    southbridge/amd/sb700: Fix boot hang on ASUS KGPE-D16
    
    Change-Id: I1d7d6715663a13ab94fd6d71808e35f0f7384d00
    Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
---
 src/southbridge/amd/sb700/Kconfig       | 4 ++++
 src/southbridge/amd/sb700/early_setup.c | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/src/southbridge/amd/sb700/Kconfig b/src/southbridge/amd/sb700/Kconfig
index 0761934..bca74fb 100644
--- a/src/southbridge/amd/sb700/Kconfig
+++ b/src/southbridge/amd/sb700/Kconfig
@@ -42,6 +42,10 @@ config SOUTHBRIDGE_AMD_SB700_SKIP_ISA_DMA_INIT
 	bool
 	default n
 
+config SOUTHBRIDGE_AMD_SB700_DISABLE_ISA_DMA
+	bool
+	default n
+
 config EHCI_BAR
 	hex
 	default 0xfef00000
diff --git a/src/southbridge/amd/sb700/early_setup.c b/src/southbridge/amd/sb700/early_setup.c
index ab32497..de3fa97 100644
--- a/src/southbridge/amd/sb700/early_setup.c
+++ b/src/southbridge/amd/sb700/early_setup.c
@@ -449,6 +449,14 @@ static void sb700_devices_por_init(void)
 	/*pci_write_config8(dev, 0x79, 0x4F); */
 	pci_write_config8(dev, 0x78, 0xFF);
 
+	if (IS_ENABLED(CONFIG_SOUTHBRIDGE_AMD_SB700_DISABLE_ISA_DMA)) {
+		printk(BIOS_DEBUG, "sb700_devices_por_init(): Disabling ISA DMA support\n");
+		/* Disable LPC ISA DMA Capability */
+		byte = pci_read_config8(dev, 0x78);
+		byte &= ~(1 << 0);
+		pci_write_config8(dev, 0x78, byte);
+	}
+
 	/* Set smbus iospace enable, I don't know why write 0x04 into reg5 that is reserved */
 	pci_write_config16(dev, 0x4, 0x0407);
 



More information about the coreboot-gerrit mailing list