]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
env: scsi: rename ENV_SCSI_PART_UUID
authorDavid Lechner <dlechner@baylibre.com>
Thu, 26 Mar 2026 22:59:23 +0000 (17:59 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 8 Apr 2026 17:07:07 +0000 (11:07 -0600)
Rename SCSI_ENV_PART_UUID to ENV_SCSI_PART_UUID. All other environment-
related config names are of the form ENV_<name>, so this is more
consistent.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
configs/qcom_qcs9100_defconfig
env/Kconfig
env/scsi.c

index 371448b8b1b15bb03c387571570d4ff0af5e83b8..082106157bbc451d53995e3b566258f5304d32b7 100644 (file)
@@ -11,6 +11,6 @@ CONFIG_REMAKE_ELF=y
 CONFIG_FASTBOOT_BUF_ADDR=0xdb300000
 CONFIG_DEFAULT_DEVICE_TREE="qcom/qcs9100-ride-r3"
 CONFIG_ENV_IS_IN_SCSI=y
-CONFIG_SCSI_ENV_PART_UUID="71cb9cd0-acf1-b6cb-ad91-be9572fe11a9"
+CONFIG_ENV_SCSI_PART_UUID="71cb9cd0-acf1-b6cb-ad91-be9572fe11a9"
 # CONFIG_ENV_IS_DEFAULT is not set
 # CONFIG_ENV_IS_NOWHERE is not set
index 2feff0b382eb99a00b124522bcb3f8fa25e6e041..5824f762870895095fc235682c24978f1fd6939b 100644 (file)
@@ -762,7 +762,7 @@ config ENV_MMC_USE_DT
          The 2 defines CONFIG_ENV_OFFSET, CONFIG_ENV_OFFSET_REDUND
          are not used as fallback.
 
-config SCSI_ENV_PART_UUID
+config ENV_SCSI_PART_UUID
        string "SCSI partition UUID for saving environment"
        depends on ENV_IS_IN_SCSI
        help
index 207717e17b160f2cc4403eeb69c2f0cc65723da7..f376f7318706106dce80d5ae90fa58a1bac17580 100644 (file)
@@ -35,7 +35,7 @@ static inline struct env_scsi_info *env_scsi_get_part(void)
 {
        struct env_scsi_info *ep = &env_part;
 
-       if (scsi_get_blk_by_uuid(CONFIG_SCSI_ENV_PART_UUID, &ep->blk, &ep->part))
+       if (scsi_get_blk_by_uuid(CONFIG_ENV_SCSI_PART_UUID, &ep->blk, &ep->part))
                return NULL;
 
        ep->count = CONFIG_ENV_SIZE / ep->part.blksz;
@@ -83,12 +83,12 @@ static int env_scsi_load(void)
        int ret;
 
        if (!ep) {
-               env_set_default(CONFIG_SCSI_ENV_PART_UUID " partition not found", 0);
+               env_set_default(CONFIG_ENV_SCSI_PART_UUID " partition not found", 0);
                return -ENOENT;
        }
 
        if (blk_dread(ep->blk, ep->part.start, ep->count, &envbuf) != ep->count) {
-               env_set_default(CONFIG_SCSI_ENV_PART_UUID " partition read failed", 0);
+               env_set_default(CONFIG_ENV_SCSI_PART_UUID " partition read failed", 0);
                return -EIO;
        }