summaryrefslogtreecommitdiff
path: root/drivers/tpm/tpm2_tis_spi.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-10-15 11:57:51 -0400
committerTom Rini <trini@konsulko.com>2019-10-15 11:57:51 -0400
commit80d9585afaffd1602e972688fdae4a53ecb0ea90 (patch)
tree320c5ab3e28e8aab27bef65e8532deee7e3f1972 /drivers/tpm/tpm2_tis_spi.c
parent83f24a110fb4180c945e212b2465b41cc76be545 (diff)
parentd11ef4d54cab0e740efbceb9c6b5697a41770eea (diff)
downloadu-boot-80d9585afaffd1602e972688fdae4a53ecb0ea90.tar.gz
Merge tag 'dm-pull-15oct19' of https://gitlab.denx.de/u-boot/custodians/u-boot-dmWIP/15Oct2019
binman enhancements: - Dropping some test Elf files and building them from source instead - Refactoring of x86 16-bit entries - Support for SPL symbols within sections - Handle the 'notes' sections and hidden symbols in recent binutils - Improved error reporting with a tool fails libfdt and documentation fixes vboot required-key test driver model power-domain controls patman Message-Id enhancement
Diffstat (limited to 'drivers/tpm/tpm2_tis_spi.c')
-rw-r--r--drivers/tpm/tpm2_tis_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tpm/tpm2_tis_spi.c b/drivers/tpm/tpm2_tis_spi.c
index 7186c179d1..3d105fddba 100644
--- a/drivers/tpm/tpm2_tis_spi.c
+++ b/drivers/tpm/tpm2_tis_spi.c
@@ -596,9 +596,9 @@ static int tpm_tis_spi_probe(struct udevice *dev)
log(LOGC_NONE, LOGL_NOTICE, "%s: missing reset GPIO\n",
__func__);
} else {
- dm_gpio_set_value(&reset_gpio, 0);
- mdelay(1);
dm_gpio_set_value(&reset_gpio, 1);
+ mdelay(1);
+ dm_gpio_set_value(&reset_gpio, 0);
}
}