U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] Enable env in UFS
@ 2025-04-01  8:00 Varadarajan Narayanan
  2025-04-01  8:00 ` [PATCH v1 1/3] scsi: Implement get_blk() function Varadarajan Narayanan
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Varadarajan Narayanan @ 2025-04-01  8:00 UTC (permalink / raw)
  To: caleb.connolly, neil.armstrong, sumit.garg, trini,
	joe.hershberger, quic_varada, michal.simek, marek.vasut+renesas,
	cniedermaier, xypron.glpk, sjg, u-boot-qcom, u-boot

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-05-06 13:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-01  8:00 [PATCH v1 0/3] Enable env in UFS Varadarajan Narayanan
2025-04-01  8:00 ` [PATCH v1 1/3] scsi: Implement get_blk() function Varadarajan Narayanan
2025-04-01 16:29   ` Heinrich Schuchardt
2025-04-02 15:56     ` Varadarajan Narayanan
2025-04-01  8:00 ` [PATCH v1 2/3] env: Add support for storing env variables in UFS Varadarajan Narayanan
2025-04-01  8:00 ` [PATCH v1 3/3] configs: qcs9100: Enable env " Varadarajan Narayanan
2025-04-07  6:26   ` Michal Simek
2025-04-01 14:10 ` [PATCH v1 0/3] " Tom Rini
2025-04-01 14:37   ` neil.armstrong
2025-05-06  7:29     ` Varadarajan Narayanan
2025-05-06 13:32       ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox