> -----Original Message-----
> From: Andre Przywara <andre.przyw...@arm.com>
> Sent: Sunday, November 8, 2020 9:14 PM
> To: Jagan Teki <ja...@amarulasolutions.com>
> Cc: Petr Štetiar <yn...@true.cz>; Sunil Mohan Adapa <su...@medhas.org>;
> Samuel Holland <sam...@sholland.org>; Aleksandr Aleksandrov
> <aleksandr.aleksand...@emlid.com>; Icenowy Zheng <icen...@aosc.io>;
> Simon Glass <s...@chromium.org>; Tom Rini <tr...@konsulko.com>; linux-
> su...@googlegroups.com; u-boot@lists.denx.de; Stefano Babic
> <sba...@denx.de>; Fabio Estevam <feste...@gmail.com>; NXP i . MX U-
> Boot Team <uboot-...@nxp.com>; Lokesh Vutla <lokeshvu...@ti.com>;
> Philipp Tomsich <philipp.toms...@theobroma-systems.com>; Kever Yang
> <kever.y...@rock-chips.com>; Marek Vasut <ma...@denx.de>; Simon
> Goldschmidt <simon.k.r.goldschm...@gmail.com>; Tan, Ley Foon
> <ley.foon....@intel.com>; Patrick Delaunay <patrick.delau...@st.com>;
> Patrice Chotard <patrice.chot...@st.com>; Andre Przywara
> <andre.przyw...@arm.com>
> Subject: [PATCH 2/5] spl: mmc: extend spl_mmc_boot_mode() to take mmc
> argument
> 
> 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 <sba...@denx.de>
> Cc: Fabio Estevam <feste...@gmail.com>
> Cc: NXP i.MX U-Boot Team <uboot-...@nxp.com>
> Cc: Lokesh Vutla <lokeshvu...@ti.com>
> Cc: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Cc: Kever Yang <kever.y...@rock-chips.com>
> Cc: Marek Vasut <ma...@denx.de>
> Cc: Simon Goldschmidt <simon.k.r.goldschm...@gmail.com>
> Cc: Ley Foon Tan <ley.foon....@intel.com>
> Cc: Patrick Delaunay <patrick.delau...@st.com>
> Cc: Patrice Chotard <patrice.chot...@st.com>
> Signed-off-by: Andre Przywara <andre.przyw...@arm.com>
> ---
>  arch/arm/mach-imx/spl.c                | 2 +-
>  arch/arm/mach-k3/am6_init.c            | 2 +-
>  arch/arm/mach-k3/j721e_init.c          | 2 +-
>  arch/arm/mach-omap2/boot-common.c      | 2 +-
>  arch/arm/mach-rockchip/spl.c           | 2 +-
>  arch/arm/mach-socfpga/spl_a10.c        | 2 +-
>  arch/arm/mach-socfpga/spl_agilex.c     | 2 +-
>  arch/arm/mach-socfpga/spl_gen5.c       | 2 +-
>  arch/arm/mach-socfpga/spl_s10.c        | 2 +-
>  arch/arm/mach-stm32mp/spl.c            | 2 +-
>  arch/arm/mach-uniphier/mmc-boot-mode.c | 5 +----
>  common/spl/spl_mmc.c                   | 4 ++--
>  include/spl.h                          | 3 ++-
>  13 files changed, 15 insertions(+), 17 deletions(-)
> 

For SoCFPGA,
Reviewed-by: Ley Foon Tan <ley.foon....@inte.com>

Regards
Ley Foon

Reply via email to