mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 10:24:49 +00:00
lib: Allow crc8 in TPL and VPL
Provide options to enable the CRC8 feature in TPL and VPL builds. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
d5597ef845
commit
79520fea6d
1 changed files with 18 additions and 0 deletions
18
lib/Kconfig
18
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
|
||||
|
|
Loading…
Add table
Reference in a new issue