All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Enable env in SCSI
@ 2025-05-07 11:28 Varadarajan Narayanan
  2025-05-07 11:28 ` [PATCH v3 1/4] disk: part: implement generic function part_get_info_by_uuid() Varadarajan Narayanan
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Varadarajan Narayanan @ 2025-05-07 11:28 UTC (permalink / raw)
  To: casey.connolly, neil.armstrong, sumit.garg, trini,
	joe.hershberger, quic_varada, avromanov, michael, hs, sjg,
	michal.simek, marek.vasut+renesas, xypron.glpk, cniedermaier,
	ansuelsmth, venkatesh.abbarapu, ilias.apalodimas, 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_SCSI_ENV_PART.

Also add an API to convert partition UUID string to block device
descriptor for UFS. This API will be used to get the block device
descriptor for the partition specified in CONFIG_SCSI_ENV_PART.

v3: s/scsi_get_blk/scsi_get_blk_by_uuid
    Fix argument name in scsi_get_blk_by_uuid

v2: Add part_get_info_by_uuid() similar to part_get_info_by_name()
    Use SCSI instead of UFS
    Use UUID for SCSI_ENV_PART instead of name

Varadarajan Narayanan (4):
  disk: part: implement generic function part_get_info_by_uuid()
  scsi: Implement get_blk() function
  env: Add support for storing env variables in SCSI devices
  configs: qcs9100: Enable env in SCSI

 configs/qcs9100_defconfig  |   5 +-
 disk/part.c                |  37 ++++++++++++
 drivers/scsi/scsi-uclass.c |  30 ++++++++++
 env/Kconfig                |  15 ++++-
 env/Makefile               |   1 +
 env/env.c                  |   3 +
 env/scsi.c                 | 115 +++++++++++++++++++++++++++++++++++++
 include/env_internal.h     |   1 +
 include/part.h             |  20 +++++++
 include/scsi.h             |  10 ++++
 10 files changed, 235 insertions(+), 2 deletions(-)
 create mode 100644 env/scsi.c

-- 
2.34.1


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

end of thread, other threads:[~2025-05-09 12:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 11:28 [PATCH v3 0/4] Enable env in SCSI Varadarajan Narayanan
2025-05-07 11:28 ` [PATCH v3 1/4] disk: part: implement generic function part_get_info_by_uuid() Varadarajan Narayanan
2025-05-07 11:47   ` Casey Connolly
2025-05-08  5:23     ` Varadarajan Narayanan
2025-05-09 10:52       ` Casey Connolly
2025-05-07 11:28 ` [PATCH v3 2/4] scsi: Implement get_blk() function Varadarajan Narayanan
2025-05-07 11:57   ` Casey Connolly
2025-05-07 16:55     ` Tom Rini
2025-05-07 11:28 ` [PATCH v3 3/4] env: Add support for storing env variables in SCSI devices Varadarajan Narayanan
2025-05-07 11:28 ` [PATCH v3 4/4] configs: qcs9100: Enable env in SCSI Varadarajan Narayanan
2025-05-07 11:38   ` Casey Connolly

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.