Files
u-boot/lib
Simon Glass 092b6ec65c tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL
It does not make sense to enable all SHA algorithms unless they are
needed. It bloats the code and in this case, causes chromebook_link to
fail to build. That board does use the TPM, but not with measured boot,
nor EFI.

Since EFI_TCG2_PROTOCOL already selects these options, we just need to
add them to MEASURED_BOOT as well.

Note that the original commit combines refactoring and new features,
which makes it hard to see what is going on.

Fixes: 97707f12fd tpm: Support boot measurements
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
2024-06-28 13:54:52 -06:00
..
2024-03-27 09:15:39 +01:00
2022-01-18 08:31:02 -05:00
2024-01-13 18:17:46 +01:00
2023-12-21 08:54:37 -05:00
2024-04-12 12:57:07 -06:00
2024-04-12 12:57:07 -06:00
2019-12-06 16:44:20 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-03-27 09:23:30 +01:00
2020-08-24 14:11:31 -04:00
2022-01-19 18:11:34 +01:00
2024-05-05 11:21:39 -03:00