[PATCH v1 0/3] Enable env in UFS
Varadarajan Narayanan
quic_varada at quicinc.com
Tue Apr 1 10:00:12 CEST 2025
The qcs9100 based Ride platforms have UFS as their primary storage.
Hence add support to U-Boot env framework to be able to save and
retrieve the environment from UFS. The environment will be
saved/retrieved from the partition specified in the config option
CONFIG_SYS_UFS_ENV_PART.
Also add an API to convert partition name string to block device
descriptor for UFS. This API will be used to get the block device
descriptor for the partition specified in CONFIG_SYS_UFS_ENV_PART.
Varadarajan Narayanan (3):
scsi: Implement get_blk() function
env: Add support for storing env variables in UFS
configs: qcs9100: Enable env in UFS
configs/qcs9100_defconfig | 4 ++
drivers/scsi/scsi-uclass.c | 30 ++++++++++
env/Kconfig | 15 ++++-
env/Makefile | 1 +
env/env.c | 3 +
env/ufs.c | 115 +++++++++++++++++++++++++++++++++++++
include/env_internal.h | 1 +
include/scsi.h | 12 ++++
8 files changed, 180 insertions(+), 1 deletion(-)
create mode 100644 env/ufs.c
base-commit: 244e61fbb7f5045e4e187024f7ae80434c952145
--
2.34.1
More information about the U-Boot
mailing list