[coreboot-gerrit] Change in coreboot[master]: src/mb/asus/p5qc/gpio.c: Use a per-variant gpio.c

Angel Pons (Code Review) gerrit at coreboot.org
Sat Nov 3 16:21:58 CET 2018


Angel Pons has uploaded this change for review. ( https://review.coreboot.org/29447


Change subject: src/mb/asus/p5qc/gpio.c: Use a per-variant gpio.c
......................................................................

src/mb/asus/p5qc/gpio.c: Use a per-variant gpio.c

Even though these two mainboards use the same gpio.c file, other boards
such as the p5ql_pro do not.*

Change-Id: I2f7c8c12cb1bdcf47f3b4d4cef0b11e44a5b8863
Signed-off-by: Angel Pons <th3fanbus at gmail.com>
---
M src/mainboard/asus/p5qc/Makefile.inc
C src/mainboard/asus/p5qc/variants/p5q_pro/gpio.c
R src/mainboard/asus/p5qc/variants/p5qc/gpio.c
3 files changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/29447/1

diff --git a/src/mainboard/asus/p5qc/Makefile.inc b/src/mainboard/asus/p5qc/Makefile.inc
index 630abda..9fcbdf1 100644
--- a/src/mainboard/asus/p5qc/Makefile.inc
+++ b/src/mainboard/asus/p5qc/Makefile.inc
@@ -12,4 +12,4 @@
 #
 
 ramstage-y += cstates.c
-romstage-y += gpio.c
+romstage-y += variants/$(VARIANT_DIR)/gpio.c
diff --git a/src/mainboard/asus/p5qc/gpio.c b/src/mainboard/asus/p5qc/variants/p5q_pro/gpio.c
similarity index 100%
copy from src/mainboard/asus/p5qc/gpio.c
copy to src/mainboard/asus/p5qc/variants/p5q_pro/gpio.c
diff --git a/src/mainboard/asus/p5qc/gpio.c b/src/mainboard/asus/p5qc/variants/p5qc/gpio.c
similarity index 100%
rename from src/mainboard/asus/p5qc/gpio.c
rename to src/mainboard/asus/p5qc/variants/p5qc/gpio.c

-- 
To view, visit https://review.coreboot.org/29447
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2f7c8c12cb1bdcf47f3b4d4cef0b11e44a5b8863
Gerrit-Change-Number: 29447
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181103/fe25802e/attachment.html>


More information about the coreboot-gerrit mailing list