# Kernel configuration

Qualcomm Linux supports UFS kernel configurations and SD card kernel configurations in the kernel build.

##  UFS kernel configuration 

The following table lists the default values of kernel configuration that enables UFS functionality:

UFS kernel configuration

| Configuration | Enabled (Yes/No) | Comments |
| --- | --- | --- |
| `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 | States that the UFS controller is supported by the platform bus |
| `CONFIG_SCSI_UFS_QCOM` | Yes | Enables a QTI-specific addition to access the hardware, that is, PHY configuration and vendor-specific registers |
| `CONFIG_PHY_QCOM_QMP` | Yes | Supports UFS QMP PHY driver |
| `CONFIG_SCSI_UFS_BSG` | Yes | Enables UFS BSG device node |
| `CONFIG_SCSI_UFS_CRYPTO` | No | UFS crypto engine support |

##  SD card kernel configuration 

The following table lists the default values of kernel configuration that enables SD card functionality:

SDHC kernel configuration

| Configuration | Enabled (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: Oct 02, 2024

[Previous Topic
Configure](https://docs.qualcomm.com/bundle/publicresource/80-70015-6/topics/configuration.md) [Next Topic
Power management states](https://docs.qualcomm.com/bundle/publicresource/80-70015-6/topics/power-management-states.md)