public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/6] env: scsi: support SCSI env without partition UUID
@ 2026-03-26 22:59 David Lechner
  2026-03-26 22:59 ` [PATCH 1/6] env: scsi: rename ENV_SCSI_PART_UUID David Lechner
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: David Lechner @ 2026-03-26 22:59 UTC (permalink / raw)
  To: Casey Connolly, Neil Armstrong, Sumit Garg, Varadarajan Narayanan,
	Tom Rini
  Cc: Julien Stephan, u-boot-qcom, u-boot, David Lechner

This is a series adding support for reading U-Boot env directly from
SCSI devices that do not have a partition table, similar to how we can
already do this for MMC devices.

The motivation behind this is that MediaTek's BSP is already using the
same disk images for both MMC and UFS devices, so we need to be able to
read the env from SCSI devices without requiring a partition UUID.

The series starts with cleaning up a few oddities we noticed in the
existing code. Then some refactoring so that the env code manages
calling scsi_scan() so that we don't have to duplicate that for the
new code path. Then finally, the last few patches add and document the
new functionality.

Signed-off-by: David Lechner <dlechner@baylibre.com>
---
David Lechner (6):
      env: scsi: rename ENV_SCSI_PART_UUID
      scsi: return ENODEV in scsi_get_blk_by_uuid()
      scsi: document return values of public functions
      scsi: move scsi_scan() call out of scsi_get_blk_by_uuid()
      env: scsi: add CONFIG_ENV_SCSI_HW_PARTITION
      env: scsi: document requirements for ENV_IS_IN_SCSI

 configs/qcom_qcs9100_defconfig |  2 +-
 drivers/scsi/scsi-uclass.c     |  8 +-------
 env/Kconfig                    | 30 +++++++++++++++++++++++++++++-
 env/scsi.c                     | 28 ++++++++++++++++++++++++----
 include/scsi.h                 |  5 +++++
 5 files changed, 60 insertions(+), 13 deletions(-)
---
base-commit: 80a4c49a4ab2ad06fa84a8b7bdf6e33b3b5101bf
change-id: 20260326-env-scsi-hw-part-support-77446f742f27

Best regards,
--  
David Lechner <dlechner@baylibre.com>


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

end of thread, other threads:[~2026-04-08 18:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-26 22:59 [PATCH 0/6] env: scsi: support SCSI env without partition UUID David Lechner
2026-03-26 22:59 ` [PATCH 1/6] env: scsi: rename ENV_SCSI_PART_UUID David Lechner
2026-04-06 12:52   ` Sumit Garg
2026-03-26 22:59 ` [PATCH 2/6] scsi: return ENODEV in scsi_get_blk_by_uuid() David Lechner
2026-03-26 22:59 ` [PATCH 3/6] scsi: document return values of public functions David Lechner
2026-03-26 22:59 ` [PATCH 4/6] scsi: move scsi_scan() call out of scsi_get_blk_by_uuid() David Lechner
2026-03-26 22:59 ` [PATCH 5/6] env: scsi: add CONFIG_ENV_SCSI_HW_PARTITION David Lechner
2026-03-26 22:59 ` [PATCH 6/6] env: scsi: document requirements for ENV_IS_IN_SCSI David Lechner
2026-04-08 18:25 ` [PATCH 0/6] env: scsi: support SCSI env without partition UUID Tom Rini

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