tpm: Add a proper Kconfig option for crc8 in SPL
authorSimon Glass <sjg@chromium.org>
Sat, 7 Jan 2023 21:57:20 +0000 (14:57 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 18:49:13 +0000 (11:49 -0700)
commit0c16fca927751fbb9be6f026ec8534d289156d3c
tree555502c11f55ed85c2694860eb474d0bad55bfc8
parentd81d17637a04746341fb6ae2e55597cd61a92c07
tpm: Add a proper Kconfig option for crc8 in SPL

The current approach is a bit of a hack and only works for the tpm
subsystem. Add a Kconfig so that crc8 can be enabled in SPL for other
purposes.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/Kconfig
lib/Makefile