]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
env: scsi: document requirements for ENV_IS_IN_SCSI
authorDavid Lechner <dlechner@baylibre.com>
Thu, 26 Mar 2026 22:59:28 +0000 (17:59 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 8 Apr 2026 17:07:07 +0000 (11:07 -0600)
Expand the Kconfig help for ENV_IS_IN_SCSI to explain the other
required config options when this option is enabled.

Signed-off-by: David Lechner <dlechner@baylibre.com>
env/Kconfig

index ffaf16c581cee166256d185ccee4954e5a4b36fc..9eb941b74a4e19941afe1f9dba5771bc58afb85f 100644 (file)
@@ -293,6 +293,23 @@ config ENV_IS_IN_SCSI
          Define this if you have an SCSI device which you want to use for the
          environment.
 
+         - CONFIG_ENV_SIZE:
+
+         The size of the partition where the environment is stored in bytes. Must
+         be a multiple of the partition block size.
+
+         - CONFIG_ENV_SCSI_HW_PARTITION:
+
+         Specifies which SCSI partition the environment is stored in. If not
+         set, defaults to partition 0, the user area. Common values might be
+         1 (first SCSI boot partition), 2 (second SCSI boot partition). Ignored
+         if CONFIG_ENV_SCSI_PART_UUID is set to non-empty string.
+
+         - CONFIG_ENV_SCSI_PART_UUID:
+
+         UUID of the SCSI partition where the environment is stored.
+
+
 config ENV_RANGE
        hex "Length of the region in which the environment can be written"
        depends on ENV_IS_IN_NAND