summaryrefslogtreecommitdiff
path: root/board/st
diff options
context:
space:
mode:
authorPatrice Chotard <[email protected]>2024-11-29 13:48:57 +0100
committerPatrice Chotard <[email protected]>2025-01-31 10:13:10 +0100
commitd37641c61ba212241c38e3fd22f0335fc0bebc96 (patch)
treec5ff1ae47db8b070cd6c21bdc6f6c0c37b631cef /board/st
parent698c92c647db77895fd6a5ebc2d5efc02403f7e4 (diff)
board: st: stm32mp1: Clean env_get_location()
ENV_IS_IN_EXT4 flag is no more used in any STM32 defconfig, remove the related code. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'board/st')
-rw-r--r--board/st/stm32mp1/stm32mp1.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index d5e5e776d2a..15fb9e4b062 100644
--- a/board/st/stm32mp1/stm32mp1.c
+++ b/board/st/stm32mp1/stm32mp1.c
@@ -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;