# Enable UFS device feature using kernel configuration

The following table lists the default values of the kernel configuration to enable UFS device.

UFS device kernel configuration

| Configuration | Enabled by default (yes/no) | Description |
| --- | --- | --- |
| `CONFIG_UFS_FAULT_INJECTION` | No | Injects the failure command for debugging. |
| `CONFIG_SCSI_UFSHCD` | Yes | Enables the UFS host control driver in the kernel. |
| `CONFIG_SCSI_UFSHCD_PLATFORM` | Yes | Supports the UFS controller from the platform bus. |
| `CONFIG_SCSI_UFS_QCOM` | Yes | Enables a Qualcomm-specific addition to access the PHY configuration and vendor-specific registers. |
| `CONFIG_PHY_QCOM_QMP` | Yes | Supports UFS device QMP PHY driver. |
| `CONFIG_SCSI_UFS_BSG` | Yes | Enables UFS device BSG device node. |
| `CONFIG_SCSI_UFS_CRYPTO` | Yes | Supports UFS device crypto engine. |

# Enable SD card using kernel configuration

The following table lists the default values of kernel configuration to enable SD card functionality.

SDHC kernel configuration

| Configuration | Enabled by default (yes/no) | Comments |
| --- | --- | --- |
| `CONFIG_MMC` | Yes | Enables MMC driver |
| `CONFIG_MMC_DEBUG` | No | Enables driver debug messages |
| `CONFIG_MMC_SDHCI` | Yes | Detects SDHCI driver |
| `CONFIG_MMC_CQHCI` | Yes | Enables Command Queue Host Control Interface |
| `CONFIG_MMC_SDHCI_MSM` | Yes | Enables MSM SDHCI driver |
| `CONFIG_MMC_BLOCK` | Yes | Enables MMC block driver |

Last Published: Mar 26, 2025

[Previous Topic
Configure storage features](https://docs.qualcomm.com/bundle/publicresource/80-70018-6/topics/configuration.md) [Next Topic
Modify UFS device power management states](https://docs.qualcomm.com/bundle/publicresource/80-70018-6/topics/power-management-states.md)