summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-04 10:48:39 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-04 14:19:17 +0100
commit74de1afbd2ed4262d4105b12641de0c5c487d930 (patch)
tree925c267bb2196c4d59e8f41060fbd5bf4eeef81e /lib/Kconfig
parent990100d9a75b2818a93b834df8bf14aa02c6c8e7 (diff)
downloadbarebox-74de1afbd2ed4262d4105b12641de0c5c487d930.tar.gz
barebox-74de1afbd2ed4262d4105b12641de0c5c487d930.tar.xz
crc: import crc_itu_t() from kernel
Our cyc_crc16() function is the same function as crc_itu_t() in the Linux kernel. Import and use crc_itu_t() from the Kernel for consistency. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index e048aded8b..ecf578a34e 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -79,7 +79,7 @@ config QSORT
config XYMODEM
bool
- select CRC16
+ select CRC_ITU_T
config LIBSCAN
bool
@@ -94,7 +94,7 @@ config STMP_DEVICE
bool
config RATP
- select CRC16
+ select CRC_ITU_T
bool "RATP protocol support"
help
Reliable Asynchronous Transfer Protocol (RATP) is a protocol for reliably