southbridge/amd/sb700: Fix boot hang on ASUS KGPE-D16
Change-Id: I1d7d6715663a13ab94fd6d71808e35f0f7384d00 Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/11938 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
parent
b27dfe9998
commit
70f2736b8e
|
@ -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
|
||||
|
|
|
@ -439,6 +439,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, "%s: Disabling ISA DMA support\n", __func__);
|
||||
/* 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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue