summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb600/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb600/Makefile.inc')
-rw-r--r--src/southbridge/amd/sb600/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb600/Makefile.inc b/src/southbridge/amd/sb600/Makefile.inc
index b5903616c0..d7451d2488 100644
--- a/src/southbridge/amd/sb600/Makefile.inc
+++ b/src/southbridge/amd/sb600/Makefile.inc
@@ -8,4 +8,6 @@ driver-y += hda.c
driver-y += ac97.c
driver-y += pci.c
ramstage-y += reset.c
-romstage-y += enable_usbdebug.c
+romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
+ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
+smm-$(CONFIG_USBDEBUG) += enable_usbdebug.c