summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/smbus/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/block/smbus/Makefile.mk')
-rw-r--r--src/soc/amd/common/block/smbus/Makefile.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/smbus/Makefile.mk b/src/soc/amd/common/block/smbus/Makefile.mk
new file mode 100644
index 0000000000..50b9fdc465
--- /dev/null
+++ b/src/soc/amd/common/block/smbus/Makefile.mk
@@ -0,0 +1,9 @@
+## SPDX-License-Identifier: GPL-2.0-only
+ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_SMBUS),y)
+
+bootblock-y += smbus_early_fch.c
+romstage-y += smbus.c
+ramstage-y += smbus.c
+ramstage-y += sm.c
+
+endif # CONFIG_SOC_AMD_COMMON_BLOCK_SMBUS