summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/sb600/sb600_usb.c4
-rw-r--r--src/southbridge/amd/sb700/sb700_usb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/amd/sb600/sb600_usb.c b/src/southbridge/amd/sb600/sb600_usb.c
index 3b5e5f562b..942f2309d6 100644
--- a/src/southbridge/amd/sb600/sb600_usb.c
+++ b/src/southbridge/amd/sb600/sb600_usb.c
@@ -127,7 +127,7 @@ static void usb_init2(struct device *dev)
static void usb_set_resources(struct device *dev)
{
-#if CONFIG_USBDEBUG_DIRECT
+#if CONFIG_USBDEBUG
struct resource *res;
u32 base;
u32 old_debug;
@@ -137,7 +137,7 @@ static void usb_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)
diff --git a/src/southbridge/amd/sb700/sb700_usb.c b/src/southbridge/amd/sb700/sb700_usb.c
index 3b08798209..e1bcf0f723 100644
--- a/src/southbridge/amd/sb700/sb700_usb.c
+++ b/src/southbridge/amd/sb700/sb700_usb.c
@@ -169,7 +169,7 @@ static void usb_init2(struct device *dev)
static void usb_set_resources(struct device *dev)
{
-#if CONFIG_USBDEBUG_DIRECT
+#if CONFIG_USBDEBUG
struct resource *res;
u32 base;
u32 old_debug;
@@ -179,7 +179,7 @@ static void usb_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)