summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/gaze16/Makefile.inc
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2022-08-17 11:37:55 -0600
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-08-19 14:22:20 +0000
commit34c8a19f9272c7483c4f6a009e59ef748625f25a (patch)
treeb9d80f28bca6f7b4bb4cecc8d3429c0299020473 /src/mainboard/system76/gaze16/Makefile.inc
parentb312f196c94666b5183369a54052d7159b8cb6bd (diff)
mb/system76/gaze16: Split gpio.h into data files
Split `gpio.h` into `gpio_early.c` for bootblock and `gpio.c` for ramstage to match other System76 boards. Change-Id: I24398ad459754ac80d92d70687ab70b22894a01c Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66168 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/system76/gaze16/Makefile.inc')
-rw-r--r--src/mainboard/system76/gaze16/Makefile.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/system76/gaze16/Makefile.inc b/src/mainboard/system76/gaze16/Makefile.inc
index 569eeb5228..6ade517c34 100644
--- a/src/mainboard/system76/gaze16/Makefile.inc
+++ b/src/mainboard/system76/gaze16/Makefile.inc
@@ -1,11 +1,13 @@
## SPDX-License-Identifier: GPL-2.0-only
-CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
bootblock-y += bootblock.c
+bootblock-y += variants/$(VARIANT_DIR)/gpio_early.c
romstage-y += variants/$(VARIANT_DIR)/romstage.c
ramstage-y += ramstage.c
-ramstage-y += variants/$(VARIANT_DIR)/ramstage.c
+ramstage-y += variants/$(VARIANT_DIR)/gpio.c
ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
+ramstage-y += variants/$(VARIANT_DIR)/ramstage.c