aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201/Makefile.inc
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-04-05 12:05:12 +0200
committerArthur Heymans <arthur@aheymans.xyz>2017-04-07 08:58:22 +0200
commit7dee97454a7391d61080e0ff689ee207ae41dacc (patch)
treeb6d8586895fd533a2513be09a209368ed45d6e00 /src/mainboard/lenovo/x201/Makefile.inc
parent5995ee62f725cb06f7ed9b1f3f6df89078cff065 (diff)
mb/lenovo/x201: Link gpio map instead of including a header
Linking should allow to link depending on possible future variants. E.g. in Makefile.inc romstage-$(CONFIG_'VARIANT0') += gpio_variant0.c etc. Change-Id: I88b5ef8e12ac606751952a493f626e1b146e98f7 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19139 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/lenovo/x201/Makefile.inc')
-rw-r--r--src/mainboard/lenovo/x201/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x201/Makefile.inc b/src/mainboard/lenovo/x201/Makefile.inc
index 46f98fa5fc..e91fd6babd 100644
--- a/src/mainboard/lenovo/x201/Makefile.inc
+++ b/src/mainboard/lenovo/x201/Makefile.inc
@@ -17,3 +17,4 @@ smm-$(CONFIG_HAVE_SMI_HANDLER) += dock.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
romstage-y += dock.c
ramstage-y += dock.c
+romstage-y += gpio.c \ No newline at end of file