
On 08/11/20 6:44 pm, 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 the actual device to answer this question.
Pass the pointer to the mmc struct to that function, so implementations can make use of them.
Compile-tested for all users changed.
Cc: Stefano Babic sbabic@denx.de Cc: Fabio Estevam festevam@gmail.com Cc: NXP i.MX U-Boot Team uboot-imx@nxp.com Cc: Lokesh Vutla lokeshvutla@ti.com Cc: Philipp Tomsich philipp.tomsich@theobroma-systems.com Cc: Kever Yang kever.yang@rock-chips.com Cc: Marek Vasut marex@denx.de Cc: Simon Goldschmidt simon.k.r.goldschmidt@gmail.com Cc: Ley Foon Tan ley.foon.tan@intel.com Cc: Patrick Delaunay patrick.delaunay@st.com Cc: Patrice Chotard patrice.chotard@st.com Signed-off-by: Andre Przywara andre.przywara@arm.com
For OMAP and K3
Acked-by: Lokesh Vutla lokeshvutla@ti.com
Thanks and regards, Lokesh