incubator-nuttx/drivers/bch/Kconfig

38 lines
816 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menuconfig BCH
bool "Block-to-Character (BCH) Support"
default n
---help---
Contains logic that may be used to convert a block driver into
a character driver. This is the complementary conversion as that
performed by loop.c. See include/nuttx/drivers/drivers.h for
registration information.
if BCH
config BCH_ENCRYPTION
bool "Enable BCH encryption"
default n
depends on CRYPTO_AES
config BCH_ENCRYPTION_KEY_SIZE
int "AES key size"
default 16
depends on BCH_ENCRYPTION
config BCH_BUFFER_ALIGNMENT
int "Buffer aligned bytes"
default 0
config BCH_DEVICE_READONLY
bool "Set BCH device readonly"
default n
---help---
Set bch devices read-only
endif # BCH