diff mbox series

smegw01: Fix wrong symbol override

Message ID 20230627165749.2544043-1-festevam@gmail.com
State Accepted
Commit 5fa30f2351ac3c0458069896bc868eae927df410
Delegated to: Tom Rini
Headers show
Series smegw01: Fix wrong symbol override | expand

Commit Message

Fabio Estevam June 27, 2023, 4:57 p.m. UTC
From: Eduard Strehlau <eduard@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@lionizers.com>
Signed-off-by: Fabio Estevam <festevam@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(-)

Comments

Tom Rini June 27, 2023, 5:33 p.m. UTC | #1
On Tue, Jun 27, 2023 at 01:57:49PM -0300, Fabio Estevam wrote:
> From: Eduard Strehlau <eduard@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@lionizers.com>
> Signed-off-by: Fabio Estevam <festevam@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?

Yes, I've got a few other things in a bundle now and I want to wait just
a little longer.
Tom Rini June 29, 2023, 10:58 p.m. UTC | #2
On Tue, Jun 27, 2023 at 01:57:49PM -0300, Fabio Estevam wrote:

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

Applied to u-boot/master, thanks!
diff mbox series

Patch

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);