summaryrefslogtreecommitdiffstats
path: root/common/ratp
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 /common/ratp
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 'common/ratp')
-rw-r--r--common/ratp/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ratp/Kconfig b/common/ratp/Kconfig
index 25c931b978..30462c6c97 100644
--- a/common/ratp/Kconfig
+++ b/common/ratp/Kconfig
@@ -2,7 +2,7 @@
config CONSOLE_RATP
bool
select RATP
- select CRC16
+ select CRC_ITU_T
select POLLER
select CMDLINE_EDITING
depends on CONSOLE_FULL