[PATCH] smegw01: Fix wrong symbol override

Fabio Estevam festevam at gmail.com
Tue Jun 27 18:57:49 CEST 2023


From: Eduard Strehlau <eduard at lionizers.com>

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 <eduard at lionizers.com>
Signed-off-by: Fabio Estevam <festevam at denx.de>
---
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



More information about the U-Boot mailing list