diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-11-05 10:32:19 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-06 09:53:05 +0100 |
commit | 0832036825c996a753595ceb445fc8b3971908f2 (patch) | |
tree | b3a9bdd672eebbc9fe151257395dfec15ce44966 /lib/Kconfig | |
parent | 92f5e94c3c286f770977dd668dc01f9036f41c01 (diff) | |
download | barebox-0832036825c996a753595ceb445fc8b3971908f2.tar.gz barebox-0832036825c996a753595ceb445fc8b3971908f2.tar.xz |
lib: Port CRC8 implementation from Linux kernel
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 860d471de9..67680adbb5 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -118,6 +118,13 @@ config CRC_CCITT the kernel tree does. Such modules that use library CRC-CCITT functions require M here. +config CRC8 + bool "CRC8 function" + help + This option provides CRC8 function. Drivers may select this + when they need to do cyclic redundancy check according CRC8 + algorithm. Module will be called crc8. + source lib/gui/Kconfig source lib/fonts/Kconfig |