summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock/imb-a180/get_bus_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/asrock/imb-a180/get_bus_conf.c')
-rw-r--r--src/mainboard/asrock/imb-a180/get_bus_conf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/asrock/imb-a180/get_bus_conf.c b/src/mainboard/asrock/imb-a180/get_bus_conf.c
index fb63ace4c5..a380872566 100644
--- a/src/mainboard/asrock/imb-a180/get_bus_conf.c
+++ b/src/mainboard/asrock/imb-a180/get_bus_conf.c
@@ -54,6 +54,7 @@ void get_bus_conf(void)
{
u32 apicid_base;
u32 status;
+ u32 value;
device_t dev;
int i, j;
@@ -98,6 +99,12 @@ void get_bus_conf(void)
pci_write_config32(dev, 0xF8, 0);
pci_write_config32(dev, 0xFC, 5); /* TODO: move it to dsdt.asl */
+ /* disable No Snoop */
+ dev = dev_find_slot(0, PCI_DEVFN(1, 1));
+ value = pci_read_config32(dev, 0x60);
+ value &= ~(1 << 11);
+ pci_write_config32(dev, 0x60, value);
+
sbdn_yangtze = 0;
memset(bus_yangtze, 0, sizeof(bus_yangtze));