1# Copyright (c) 2024 Brill Power Ltd. 2# Copyright 2025 NXP 3# SPDX-License-Identifier: Apache-2.0 4 5menuconfig CRC_DRIVER 6 bool "CRC device drivers" 7 help 8 Enable support for CRC device driver. 9 10if CRC_DRIVER 11 12module = CRC_DRIVER 13module-str = CRC_DRIVER 14 15source "subsys/logging/Kconfig.template.log_config" 16 17config CRC_DRIVER_INIT_PRIORITY 18 int "CRC init priority" 19 default KERNEL_INIT_PRIORITY_DEVICE 20 help 21 CRC driver device initialization priority. 22 23# zephyr-keep-sorted-start 24source "drivers/crc/Kconfig.nxp" 25source "drivers/crc/Kconfig.renesas_ra" 26source "drivers/crc/Kconfig.sf32lb" 27# zephyr-keep-sorted-stop 28 29config CRC_DRIVER_HAS_CRC4 30 bool 31 help 32 CRC driver has CRC4 computation 33 34config CRC_DRIVER_HAS_CRC4_TI 35 bool 36 help 37 CRC driver has CRC4 TI computation 38 39config CRC_DRIVER_HAS_CRC7_BE 40 bool 41 help 42 CRC driver has CRC7 BE computation 43 44config CRC_DRIVER_HAS_CRC8 45 bool 46 help 47 CRC driver has CRC8 computation 48 49config CRC_DRIVER_HAS_CRC8_CCITT 50 bool 51 help 52 CRC driver has CRC8 CCITT computation 53 54config CRC_DRIVER_HAS_CRC8_ROHC 55 bool 56 help 57 CRC driver has CRC8 ROHC computation 58 59config CRC_DRIVER_HAS_CRC16 60 bool 61 help 62 CRC driver has CRC16 computation 63 64config CRC_DRIVER_HAS_CRC16_CCITT 65 bool 66 help 67 CRC driver has CRC16 CCITT computation 68 69config CRC_DRIVER_HAS_CRC16_ITU_T 70 bool 71 help 72 CRC driver has CRC16 ITU-T computation 73 74config CRC_DRIVER_HAS_CRC16_ANSI 75 bool 76 depends on CRC_DRIVER_HAS_CRC16_REFLECT 77 help 78 CRC driver has CRC16 Ansi computation 79 80config CRC_DRIVER_HAS_CRC16_REFLECT 81 bool 82 help 83 CRC driver has CRC16 reflect computation 84 85config CRC_DRIVER_HAS_CRC24_PGP 86 bool 87 help 88 CRC driver has CRC24 PGP computation 89 90config CRC_DRIVER_HAS_CRC32_C 91 bool 92 help 93 CRC driver has CRC32C computation 94 95config CRC_DRIVER_HAS_CRC32_IEEE 96 bool 97 help 98 CRC driver has CRC32 IEEE computation 99 100config CRC_DRIVER_HAS_CRC32_K_4_2 101 bool 102 help 103 CRC driver has CRC32K/4.2 computation 104 105endif # CRC_DEVICE 106