board: st: stm32mp1: Clean env_get_location()
authorPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 29 Nov 2024 12:48:57 +0000 (13:48 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 31 Jan 2025 09:13:10 +0000 (10:13 +0100)
ENV_IS_IN_EXT4 flag is no more used in any STM32 defconfig,
remove the related code.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
board/st/stm32mp1/stm32mp1.c

index d5e5e77..15fb9e4 100644 (file)
@@ -751,8 +751,6 @@ enum env_location env_get_location(enum env_operation op, int prio)
        case BOOT_FLASH_EMMC:
                if (CONFIG_IS_ENABLED(ENV_IS_IN_MMC))
                        return ENVL_MMC;
-               else if (CONFIG_IS_ENABLED(ENV_IS_IN_EXT4))
-                       return ENVL_EXT4;
                else
                        return ENVL_NOWHERE;