From a1b9089a6e3bc23497c00c5bec6868764c8d0e8c Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Thu, 5 Sep 2013 23:02:07 +0200 Subject: [PATCH] Add DM/LUKS support This add support to encrypt partitions disks. Also adds support for XTS. --- core/linux-am33x/config | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/core/linux-am33x/config b/core/linux-am33x/config index 6a4579720..76963fbdc 100644 --- a/core/linux-am33x/config +++ b/core/linux-am33x/config @@ -1576,7 +1576,19 @@ CONFIG_SCSI_VIRTIO=m # CONFIG_ATA is not set CONFIG_MD=y # CONFIG_BLK_DEV_MD is not set -# CONFIG_BLK_DEV_DM is not set +CONFIG_BLK_DEV_DM=m +# CONFIG_DM_DEBUG is not set +CONFIG_DM_CRYPT=m +# CONFIG_DM_SNAPSHOT is not set +# CONFIG_DM_THIN_PROVISIONING is not set +# CONFIG_DM_MIRROR is not set +# CONFIG_DM_RAID is not set +# CONFIG_DM_ZERO is not set +# CONFIG_DM_MULTIPATH is not set +# CONFIG_DM_DELAY is not set +CONFIG_DM_UEVENT=y +# CONFIG_DM_FLAKEY is not set +# CONFIG_DM_VERITY is not set # CONFIG_TARGET_CORE is not set CONFIG_NETDEVICES=y CONFIG_NET_CORE=y @@ -4199,6 +4211,7 @@ CONFIG_NFS_V4=y CONFIG_NFS_SWAP=y CONFIG_NFS_V4_1=y CONFIG_PNFS_FILE_LAYOUT=m +CONFIG_PNFS_BLOCK=m CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" CONFIG_ROOT_NFS=y # CONFIG_NFS_USE_LEGACY_DNS is not set @@ -4461,7 +4474,7 @@ CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_MANAGER2=y # CONFIG_CRYPTO_USER is not set CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y -# CONFIG_CRYPTO_GF128MUL is not set +CONFIG_CRYPTO_GF128MUL=m # CONFIG_CRYPTO_NULL is not set CONFIG_CRYPTO_PCRYPT=y CONFIG_CRYPTO_WORKQUEUE=y @@ -4485,7 +4498,7 @@ CONFIG_CRYPTO_CBC=m CONFIG_CRYPTO_ECB=m # CONFIG_CRYPTO_LRW is not set CONFIG_CRYPTO_PCBC=m -# CONFIG_CRYPTO_XTS is not set +CONFIG_CRYPTO_XTS=m # # Hash modes