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@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 */