For Universal Flash Storage. Using modules since this is likely not needed for rootfs without an initrd.
Signed-off-by: Mikko Rapeli <[email protected]> --- features/scsi/ufs-arm64.cfg | 15 +++++++++++++++ features/scsi/ufs.cfg | 13 +++++++++++++ features/scsi/ufs.scc | 9 +++++++++ kern-features.rc | 1 + 4 files changed, 38 insertions(+) create mode 100644 features/scsi/ufs-arm64.cfg create mode 100644 features/scsi/ufs.cfg create mode 100644 features/scsi/ufs.scc diff --git a/features/scsi/ufs-arm64.cfg b/features/scsi/ufs-arm64.cfg new file mode 100644 index 00000000..ac1e811e --- /dev/null +++ b/features/scsi/ufs-arm64.cfg @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: MIT +# Qualcomm +CONFIG_SCSI_UFS_QCOM=m +# MediaTek +CONFIG_SCSI_UFS_MEDIATEK=m +# Hisilicon +CONFIG_SCSI_UFS_HISI=m +# Renesas +CONFIG_SCSI_UFS_RENESAS=m +# TI +CONFIG_SCSI_UFS_TI_J721E=m +# Samsung +CONFIG_SCSI_UFS_EXYNOS=m +# Rockchip +CONFIG_SCSI_UFS_ROCKCHIP=m diff --git a/features/scsi/ufs.cfg b/features/scsi/ufs.cfg new file mode 100644 index 00000000..7ed70294 --- /dev/null +++ b/features/scsi/ufs.cfg @@ -0,0 +1,13 @@ +# SPDX-License-Identifier: MIT +CONFIG_SCSI_UFSHCD=m +CONFIG_BLK_INLINE_ENCRYPTION=y +CONFIG_SCSI_UFS_CRYPTO=y +CONFIG_SCSI_UFS_HWMON=y +CONFIG_SCSI_UFS_BSG=y + +# PCI +CONFIG_SCSI_UFSHCD_PCI=m +# Platform bus +CONFIG_SCSI_UFSHCD_PLATFORM=m +# Cadence +CONFIG_SCSI_UFS_CDNS_PLATFORM=m diff --git a/features/scsi/ufs.scc b/features/scsi/ufs.scc new file mode 100644 index 00000000..2ef2bb36 --- /dev/null +++ b/features/scsi/ufs.scc @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: MIT +define KFEATURE_DESCRIPTION "Enable options for UFS storage support" +define KFEATURE_COMPATIBILITY board + +kconf hardware ufs.cfg + +if [ "$KARCH" = "arm64" ]; then + kconf hardware ufs-arm64.cfg +fi diff --git a/kern-features.rc b/kern-features.rc index 0d88aa15..94c6be02 100644 --- a/kern-features.rc +++ b/kern-features.rc @@ -143,6 +143,7 @@ config = features/scsi/scsi-debug.scc config = features/scsi/cdrom.scc config = features/scsi/disk.scc + config = features/scsi/ufs.scc config = features/intel-idxd/intel-idxd.scc config = features/tun/tun.scc config = features/hid/hid.scc -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15957): https://lists.yoctoproject.org/g/linux-yocto/message/15957 Mute This Topic: https://lists.yoctoproject.org/mt/116254767/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
