From: Eduard Strehlau <[email protected]>

board_mmc_get_env_part() is not called as the default implementation
of mmc_get_env_part() is used.

Fix this problem by directly calling mmc_get_env_part() instead.

Signed-off-by: Eduard Strehlau <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
---
Tom,

Stefano is out this week. Could you please apply this one
directly so that it gets included in 2023.07 as well?

Thanks

 board/storopack/smegw01/smegw01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/storopack/smegw01/smegw01.c 
b/board/storopack/smegw01/smegw01.c
index 20c09700bf0d..7b2c50a61e43 100644
--- a/board/storopack/smegw01/smegw01.c
+++ b/board/storopack/smegw01/smegw01.c
@@ -102,7 +102,7 @@ int board_late_init(void)
        return 0;
 }
 
-uint board_mmc_get_env_part(struct mmc *mmc)
+uint mmc_get_env_part(struct mmc *mmc)
 {
        uint part = EXT_CSD_EXTRACT_BOOT_PART(mmc->part_config);
 
-- 
2.34.1

Reply via email to