aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb800/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb800/Makefile.inc')
-rw-r--r--src/southbridge/amd/sb800/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb800/Makefile.inc b/src/southbridge/amd/sb800/Makefile.inc
index 7a42fdd4d8..38b7d50c11 100644
--- a/src/southbridge/amd/sb800/Makefile.inc
+++ b/src/southbridge/amd/sb800/Makefile.inc
@@ -9,4 +9,6 @@ driver-y += pci.c
driver-y += pcie.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.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