[coreboot-gerrit] Change in coreboot[master]: mb/intel/coffeelake_rvp: GPIO support for whiskey board

Lijian Zhao (Code Review) gerrit at coreboot.org
Mon Aug 27 20:56:39 CEST 2018


Lijian Zhao has uploaded this change for review. ( https://review.coreboot.org/28367


Change subject: mb/intel/coffeelake_rvp: GPIO support for whiskey board
......................................................................

mb/intel/coffeelake_rvp: GPIO support for whiskey board

Add gpio programming difference for whiskeylake rvp platform.

BUG=N/A
TEST=N/A

Change-Id: I35a0384f828fd3219e0c3adb4830f5bdab800e32
Signed-off-by: Lijian Zhao <lijian.zhao at intel.com>
---
M src/mainboard/intel/coffeelake_rvp/variants/baseboard/gpio.c
1 file changed, 6 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/67/28367/1

diff --git a/src/mainboard/intel/coffeelake_rvp/variants/baseboard/gpio.c b/src/mainboard/intel/coffeelake_rvp/variants/baseboard/gpio.c
index fe5a1a8..576c522 100644
--- a/src/mainboard/intel/coffeelake_rvp/variants/baseboard/gpio.c
+++ b/src/mainboard/intel/coffeelake_rvp/variants/baseboard/gpio.c
@@ -263,6 +263,9 @@
 	/* H21 : GPPC_H_21 */
 	/* H22 : GPPC_H_22 */
 	PAD_CFG_GPI(GPP_H22, NONE, DEEP),
+#if IS_ENABLED(CONFIG_BOARD_INTEL_WHISKEYLAKE_RVP)
+	PAD_CFG_GPO(GPP_H22, 1, PLTRST),
+#endif
 	/* H23 : GPPC_H_23 */
 
 	/* GPD */
@@ -292,7 +295,8 @@
 	return gpio_table;
 }
 
-const struct pad_config *__weak variant_early_gpio_table(size_t *num)
+const struct pad_config *__weak
+	variant_early_gpio_table(size_t *num)
 {
 	*num = ARRAY_SIZE(early_gpio_table);
 	return early_gpio_table;
@@ -302,7 +306,7 @@
 	CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, CROS_GPIO_DEVICE_NAME),
 };
 
-const struct cros_gpio *__weak variant_cros_gpios(size_t *num)
+const struct cros_gpio * __weak variant_cros_gpios(size_t *num)
 {
 	*num = ARRAY_SIZE(cros_gpios);
 	return cros_gpios;

-- 
To view, visit https://review.coreboot.org/28367
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: I35a0384f828fd3219e0c3adb4830f5bdab800e32
Gerrit-Change-Number: 28367
Gerrit-PatchSet: 1
Gerrit-Owner: Lijian Zhao <lijian.zhao at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180827/c12e1a72/attachment-0001.html>


More information about the coreboot-gerrit mailing list