[coreboot-gerrit] Change in coreboot[master]: asrock/g41c-gs: make serial console setup depend on selected super IO

Felix Held (Code Review) gerrit at coreboot.org
Wed Jul 25 11:46:44 CEST 2018


Felix Held has uploaded this change for review. ( https://review.coreboot.org/27629


Change subject: asrock/g41c-gs: make serial console setup depend on selected super IO
......................................................................

asrock/g41c-gs: make serial console setup depend on selected super IO

The used super IO is selected in Kconfig depending on the board variant, so use
the selected super IO instead of the board variant directly.

Change-Id: I8421e7c9b1f9ca875c9291f4105c3c20726adfd0
Signed-off-by: Felix Held <felix-coreboot at felixheld.de>
---
M src/mainboard/asrock/g41c-gs/romstage.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/27629/1

diff --git a/src/mainboard/asrock/g41c-gs/romstage.c b/src/mainboard/asrock/g41c-gs/romstage.c
index e1f4152..7a30e35 100644
--- a/src/mainboard/asrock/g41c-gs/romstage.c
+++ b/src/mainboard/asrock/g41c-gs/romstage.c
@@ -47,7 +47,7 @@
 	setup_pch_gpios(&mainboard_gpio_map);
 
 	/* Set GPIOs on superio, enable UART */
-	if (IS_ENABLED(CONFIG_BOARD_ASROCK_G41C_GS_R2_0)) {
+	if (IS_ENABLED(CONFIG_SUPERIO_NUVOTON_NCT6776)) {
 		nuvoton_pnp_enter_conf_state(SERIAL_DEV_R2);
 		pnp_set_logical_device(SERIAL_DEV_R2);
 

-- 
To view, visit https://review.coreboot.org/27629
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: I8421e7c9b1f9ca875c9291f4105c3c20726adfd0
Gerrit-Change-Number: 27629
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot at felixheld.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180725/2be690f4/attachment.html>


More information about the coreboot-gerrit mailing list