Re: [RESEND PATCH v2 1/3] spl: mmc: extend spl_mmc_boot_mode() to take mmc argument

2021-07-20 Thread Simon Glass
Hi Andre, On Mon, 12 Jul 2021 at 04:07, Andre Przywara wrote: > > Platforms can overwrite the weak definition of spl_mmc_boot_mode() to > determine where to load U-Boot proper from. > For most of them this is a trivial decision based on Kconfig variables, > but it might be desirable the probe

[RESEND PATCH v2 1/3] spl: mmc: extend spl_mmc_boot_mode() to take mmc argument

2021-07-12 Thread Andre Przywara
Platforms can overwrite the weak definition of spl_mmc_boot_mode() to determine where to load U-Boot proper from. For most of them this is a trivial decision based on Kconfig variables, but it might be desirable the probe the actual device to answer this question. Pass the pointer to the mmc