[coreboot-gerrit] New patch to review for coreboot: siemens/mc_tcu3: Set GPIO_S0_SC[75] to output

Werner Zeh (werner.zeh@siemens.com) gerrit at coreboot.org
Thu Dec 17 07:29:44 CET 2015


Werner Zeh (werner.zeh at siemens.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12754

-gerrit

commit cbc19b6f8e1f0613882c5e2a51d103aca98e955d
Author: Werner Zeh <werner.zeh at siemens.com>
Date:   Thu Dec 17 07:28:29 2015 +0100

    siemens/mc_tcu3: Set GPIO_S0_SC[75] to output
    
    The usage of the pin has changed and therefore this pin needs
    to be set up as output and drive low initially.
    
    Change-Id: Ie3eb9cc703f7f73d59fad52ea9e514997d84606a
    Signed-off-by: Werner Zeh <werner.zeh at siemens.com>
---
 src/mainboard/siemens/mc_tcu3/gpio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mainboard/siemens/mc_tcu3/gpio.c b/src/mainboard/siemens/mc_tcu3/gpio.c
index fc5178f..ba4e9fb 100644
--- a/src/mainboard/siemens/mc_tcu3/gpio.c
+++ b/src/mainboard/siemens/mc_tcu3/gpio.c
@@ -15,7 +15,7 @@
  */
 
 #include <stdlib.h>
-#include <soc/gpio.h>
+#include <baytrail/gpio.h>
 #include "irqroute.h"
 
 /* NCORE GPIOs */
@@ -127,7 +127,7 @@ static const struct soc_gpio_map gpscore_gpio_map[] = {
 	GPIO_FUNC1,	/* GPIO_S0_SC[072]	SIO_UART1_RTS#						 */
 	GPIO_FUNC1,	/* GPIO_S0_SC[073]	SIO_UART1_CTS#						 */
 	GPIO_FUNC1,	/* GPIO_S0_SC[074]	SIO_UART2_RXD						 */
-	GPIO_FUNC1,	/* GPIO_S0_SC[075]	SIO_UART2_TXD						 */
+	GPIO_OUT_LOW,	/* GPIO_S0_SC[075]	SIO_UART2_TXD						 */
 	GPIO_FUNC1,	/* GPIO_S0_SC[076]	SIO_UART2_RTS#						 */
 	GPIO_FUNC1,	/* GPIO_S0_SC[077]	SIO_UART2_CTS#						 */
 	GPIO_FUNC1,	/* GPIO_S0_SC[078]	SIO_I2C0_DATA						 */



More information about the coreboot-gerrit mailing list