[coreboot-gerrit] Change in coreboot[master]: rockchip: tpm: cr50: set tpm_irq gpio initialization status
Lin Huang (Code Review)
gerrit at coreboot.org
Thu Aug 3 02:34:54 CEST 2017
Lin Huang has uploaded this change for review. ( https://review.coreboot.org/20866
Change subject: rockchip: tpm: cr50: set tpm_irq gpio initialization status
......................................................................
rockchip: tpm: cr50: set tpm_irq gpio initialization status
cr50 tpm_irq gpio use rise edge irq, so need to set this gpio
initialization status to input pullup.
BRANCH=None
BUG=None
TEST=boot from bob
Change-Id: I9b8e6497f07146dafdb447a6ea10d039a2a2fa33
Signed-off-by: Lin Huang <hl at rock-chips.com>
---
M src/mainboard/google/gru/bootblock.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/20866/1
diff --git a/src/mainboard/google/gru/bootblock.c b/src/mainboard/google/gru/bootblock.c
index c5ab28a..2367674 100644
--- a/src/mainboard/google/gru/bootblock.c
+++ b/src/mainboard/google/gru/bootblock.c
@@ -112,6 +112,7 @@
write32(&rk3399_grf->iomux_spi0, IOMUX_SPI0);
}
+ gpio_input_pullup(GPIO_TPM_IRQ);
gpio_input_irq(GPIO_TPM_IRQ, IRQ_TYPE_EDGE_RISING);
} else {
gpio_input(GPIO(1, B, 7)); /* I2C0_SDA remove pull-up */
--
To view, visit https://review.coreboot.org/20866
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b8e6497f07146dafdb447a6ea10d039a2a2fa33
Gerrit-Change-Number: 20866
Gerrit-PatchSet: 1
Gerrit-Owner: Lin Huang <hl at rock-chips.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170803/20bcc001/attachment.html>
More information about the coreboot-gerrit
mailing list