summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-12-07 10:24:10 -0700
committerTom Rini <[email protected]>2024-12-12 16:35:24 -0600
commit79520fea6d88060a6293436924ca2b44ade43180 (patch)
treed21804468bb17252ff835bdd442768013957fc5d /lib
parentd5597ef8456e34948759f3e6df888c848edc9ec6 (diff)
lib: Allow crc8 in TPL and VPL
Provide options to enable the CRC8 feature in TPL and VPL builds. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 3fa580ab1eb..c8ac99df78e 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -719,6 +719,24 @@ config SPL_CRC8
checksum with feedback to produce an 8-bit result. The code is small
and it does not require a lookup table (unlike CRC32).
+config TPL_CRC8
+ bool "Support CRC8 in TPL"
+ depends on TPL
+ help
+ Enables CRC8 support in TPL. This is not normally required. CRC8 is
+ a simple and fast checksumming algorithm which does a bytewise
+ checksum with feedback to produce an 8-bit result. The code is small
+ and it does not require a lookup table (unlike CRC32).
+
+config VPL_CRC8
+ bool "Support CRC8 in VPL"
+ depends on VPL
+ help
+ Enables CRC8 support in VPL. This is not normally required. CRC8 is
+ a simple and fast checksumming algorithm which does a bytewise
+ checksum with feedback to produce an 8-bit result. The code is small
+ and it does not require a lookup table (unlike CRC32).
+
config SPL_CRC16
bool "Support CRC16 in SPL"
depends on SPL