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 <eduard@lionizers.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
This commit is contained in:
Eduard Strehlau 2023-06-27 13:57:49 -03:00 committed by Tom Rini
parent b042cebede
commit 5fa30f2351

View file

@ -102,7 +102,7 @@ int board_late_init(void)
return 0; 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); uint part = EXT_CSD_EXTRACT_BOOT_PART(mmc->part_config);