]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
smegw01: Fix wrong symbol override
authorEduard Strehlau <eduard@lionizers.com>
Tue, 27 Jun 2023 16:57:49 +0000 (13:57 -0300)
committerTom Rini <trini@konsulko.com>
Thu, 29 Jun 2023 13:55:50 +0000 (09:55 -0400)
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@lionizers.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
board/storopack/smegw01/smegw01.c

index 20c09700bf0d565ba6c541ebe54e650d7822ede7..7b2c50a61e432ba5da527c6e12a639e4786cd6b3 100644 (file)
@@ -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);