summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-03-26 06:12:31 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-04-03 09:07:52 +0200
commit37ebcf9984b0f6fe6282a433f8640894c3b9cdda (patch)
tree6d7a88236048fe805687f8b59640776274ab8471 /lib/Kconfig
parente96dc23280c43dd6b026ea71bcbaf3353abb4c83 (diff)
downloadbarebox-37ebcf9984b0f6fe6282a433f8640894c3b9cdda.tar.gz
barebox-37ebcf9984b0f6fe6282a433f8640894c3b9cdda.tar.xz
lib: Port CRC-CCITT functions from Linux kernel
Port CRC-CCITT implemenation in order to support porting MFD driver for RAVE SP. 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/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 4e9213f3e5..3d06655707 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -110,6 +110,14 @@ config ALLOW_PRNG_FALLBACK
available and this option is disabled, cmd_password will fail.
Enable it on your own risk.
+config CRC_CCITT
+ bool "CRC-CCITT functions"
+ help
+ This option is provided for the case where no in-kernel-tree
+ modules require CRC-CCITT functions, but a module built outside
+ the kernel tree does. Such modules that use library CRC-CCITT
+ functions require M here.
+
source lib/gui/Kconfig
source lib/fonts/Kconfig