summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t400/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/t400/Makefile.mk')
-rw-r--r--src/mainboard/lenovo/t400/Makefile.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t400/Makefile.mk b/src/mainboard/lenovo/t400/Makefile.mk
new file mode 100644
index 0000000000..982c2098d0
--- /dev/null
+++ b/src/mainboard/lenovo/t400/Makefile.mk
@@ -0,0 +1,18 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+bootblock-y += bootblock.c
+bootblock-y += dock.c
+
+romstage-y += variants/$(VARIANT_DIR)/gpio.c
+
+ramstage-y += dock.c
+ramstage-y += cstates.c
+ramstage-y += blc.c
+
+ifeq ($(CONFIG_MAINBOARD_USE_LIBGFXINIT),y)
+ramstage-$(CONFIG_BOARD_LENOVO_T400) += variants/t400/malibu-3/gma-mainboard.ads
+ramstage-$(CONFIG_BOARD_LENOVO_R400) += variants/t400/malibu-3/gma-mainboard.ads
+ramstage-$(CONFIG_BOARD_LENOVO_T500) += variants/t400/coronado-5/gma-mainboard.ads
+ramstage-$(CONFIG_BOARD_LENOVO_W500) += variants/t400/coronado-5/gma-mainboard.ads
+ramstage-$(CONFIG_BOARD_LENOVO_R500) += variants/r500/gma-mainboard.ads
+endif