diff options
author | Yu-Ping Wu <yupingso@chromium.org> | 2022-10-06 12:37:25 +0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2022-10-18 03:01:16 +0000 |
commit | 3a1333da368068399cbb4348d8118af628ca9b0e (patch) | |
tree | 5acbff5d7e5845ffdd9f06d4fe20bebb16cc8c57 /src/lib/ramdetect.c | |
parent | a2efadd1b42bd554d6e352f584a2979913fa7ea1 (diff) |
mb/google/corsola: Configure TPM IRQ as EDGE_FALLING
When the GSC is ready for the next transaction, it triggers a
GSC_AP_INT_ODL (active low) pulse with 100us duration to notify the AP.
Currently the TPM IRQ is configured as EDGE_RISING. Changing it to
EDGE_FALLING would speed up each register access by 100us. On Kingler,
this saves 20ms for the boot time (0.93s -> 0.91s).
BUG=b:235185547
TEST=emerge-corsola coreboot
TEST=Kingler booted without TPM errors
BRANCH=none
Change-Id: Id282e0f35694bd151781845cbd5aa4b389a30ddc
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68327
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/lib/ramdetect.c')
0 files changed, 0 insertions, 0 deletions