summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2021-05-26 08:18:49 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-05-30 20:17:10 +0000
commita701be17fee50e27d736a250a7de724f5a565bcb (patch)
tree000a139ace9aa27c8cf0cad4fcb89e775eef6b2a
parent6be8a5138a193431d873c24f0b79e699d5b23eb6 (diff)
mb/siemens/mc_apl1: Move gpio.c from baseboard to mc_apl1
Variant mc_apl1 is the only one that uses gpio.c from baseboard. For this reason, gpio.c is moved from baseboard to mc_apl1. Change-Id: Ie2ba8181dfe887df9abbbd648f2cbdc6ffc65530 Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54945 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/baseboard/Makefile.inc3
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl1/Makefile.inc3
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl1/gpio.c (renamed from src/mainboard/siemens/mc_apl1/variants/baseboard/gpio.c)0
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/siemens/mc_apl1/variants/baseboard/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/baseboard/Makefile.inc
index 1d38b77ea0..e553581dd5 100644
--- a/src/mainboard/siemens/mc_apl1/variants/baseboard/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/baseboard/Makefile.inc
@@ -1,5 +1,2 @@
-bootblock-y += gpio.c
romstage-y += memory.c
-
-ramstage-y += gpio.c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Makefile.inc
index 81633a1d93..3629aca053 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Makefile.inc
@@ -1,2 +1,5 @@
+bootblock-y += gpio.c
+
+ramstage-y += gpio.c
ramstage-y += mainboard.c
ramstage-y += lcd_panel.c
diff --git a/src/mainboard/siemens/mc_apl1/variants/baseboard/gpio.c b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/gpio.c
index 6a3b859f55..6a3b859f55 100644
--- a/src/mainboard/siemens/mc_apl1/variants/baseboard/gpio.c
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/gpio.c