From: Eduard Strehlau Date: Tue, 27 Jun 2023 16:57:49 +0000 (-0300) Subject: smegw01: Fix wrong symbol override X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=5fa30f2351ac3c0458069896bc868eae927df410;p=u-boot.git smegw01: Fix wrong symbol override 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 Signed-off-by: Fabio Estevam --- diff --git a/board/storopack/smegw01/smegw01.c b/board/storopack/smegw01/smegw01.c index 20c09700bf..7b2c50a61e 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);