Move MMCONF resource into the domain for fam10 for the resource allocator.
[coreboot.git] / src / southbridge / sis / sis966 / sis966_usb2.c
index 9d0fa15a57eb70de8e19033c5bd197681a71425e..6ede02383702c10be9f26e506ceb8eeafbc3c6f1 100644 (file)
@@ -30,9 +30,7 @@
 #include <device/pci_ops.h>
 #include <arch/io.h>
 #include "sis966.h"
-#if CONFIG_USBDEBUG_DIRECT
 #include <usbdebug.h>
-#endif
 
 extern struct ehci_debug_info dbg_info;
 
@@ -123,7 +121,7 @@ static void usb2_init(struct device *dev)
 
 static void usb2_set_resources(struct device *dev)
 {
-#if CONFIG_USBDEBUG_DIRECT
+#if CONFIG_USBDEBUG
        struct resource *res;
        unsigned base;
        unsigned old_debug;
@@ -133,7 +131,7 @@ static void usb2_set_resources(struct device *dev)
 #endif
        pci_dev_set_resources(dev);
 
-#if CONFIG_USBDEBUG_DIRECT
+#if CONFIG_USBDEBUG
        res = find_resource(dev, 0x10);
        set_ehci_debug(old_debug);
        if (!res) return;