[PATCH v4 4/8] env: scsi: Fix ENV_SCSI_HW_PARTITION default value type

Balaji Selvanathan balaji.selvanathan at oss.qualcomm.com
Tue Apr 28 09:31:46 CEST 2026


Change the default value from integer 0 to string "0" to match
the string type of the configuration option.

Reviewed-by: Simon Glass <sjg at chromium.org>
Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
---
Changes in v4:
- Newly created in v4
---
 env/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/env/Kconfig b/env/Kconfig
index 7abd82ab6f3..71a27894f90 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -783,7 +783,7 @@ config ENV_MMC_USE_DT
 config ENV_SCSI_HW_PARTITION
 	string "SCSI hardware partition number"
 	depends on ENV_IS_IN_SCSI
-	default 0
+	default "0"
 	help
 	  SCSI hardware partition device number on the platform where the
 	  environment is stored.  Note that this is not related to any software

-- 
2.34.1



More information about the U-Boot mailing list