summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2016-11-16 15:10:50 -0600
committerMartin Roth <martinroth@google.com>2016-11-18 20:45:49 +0100
commitb17f4e8d26b34541cade48add2a213454008d3f1 (patch)
tree5120eb9cd26969e49c8cf6326dcf566cfbdf1390 /src/southbridge
parenta5b528fcc4fa09f9bb020e99fd4f13f63bb8e699 (diff)
downloadcoreboot-b17f4e8d26b34541cade48add2a213454008d3f1.tar.xz
sb/lynxpoint: use hda_verb.c from VARIANT_DIR if applicable
Change-Id: Ie2d0cf573876694fe87edf2f6915a5cc26238940 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/17453 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/lynxpoint/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/southbridge/intel/lynxpoint/Makefile.inc b/src/southbridge/intel/lynxpoint/Makefile.inc
index e36b1b2b01..3ecc6a6cc4 100644
--- a/src/southbridge/intel/lynxpoint/Makefile.inc
+++ b/src/southbridge/intel/lynxpoint/Makefile.inc
@@ -28,7 +28,11 @@ ramstage-y += smbus.c
ramstage-y += hda_verb.c
ramstage-$(CONFIG_INTEL_LYNXPOINT_LP) += serialio.c
+ifneq ($(CONFIG_VARIANT_DIR),)
+ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/hda_verb.c
+else
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c
+endif
ramstage-y += rcba.c
ramstage-y += me_status.c