summaryrefslogtreecommitdiffstats
path: root/drivers/w1/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/w1/Kconfig')
-rw-r--r--drivers/w1/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/w1/Kconfig b/drivers/w1/Kconfig
index 1d5d087..9a1e00d 100644
--- a/drivers/w1/Kconfig
+++ b/drivers/w1/Kconfig
@@ -61,4 +61,13 @@ config W1_DS2433
Say Y here if you want to use a 1-wire
4kb EEPROM family device (DS2433).
+config W1_DS2433_CRC
+ bool "Protect DS2433 data with a CRC16"
+ depends on W1_DS2433
+ select CRC16
+ help
+ Say Y here to protect DS2433 data with a CRC16.
+ Each block has 30 bytes of data and a two byte CRC16.
+ Full block writes are only allowed if the CRC is valid.
+
endmenu
OpenPOWER on IntegriCloud