[PATCH 6/6] env: scsi: document requirements for ENV_IS_IN_SCSI

David Lechner
2026-03-26T23:01:10Z

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 | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

diff --git a/env/Kconfig b/env/Kconfig
index ffaf16c581c..9eb941b74a4 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -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

--
2.43.0