From: Lokesh Vutla Date: Mon, 9 Nov 2020 10:08:27 +0530 Subject: [PATCH 2/5] spl: mmc: extend spl_mmc_boot_mode() to take mmc argument In-Reply-To: <20201108131409.14320-3-andre.przywara@arm.com> References: <20201108131409.14320-1-andre.przywara@arm.com> <20201108131409.14320-3-andre.przywara@arm.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Fabio Estevam > Cc: NXP i.MX U-Boot Team > Cc: Lokesh Vutla > Cc: Philipp Tomsich > Cc: Kever Yang > Cc: Marek Vasut > Cc: Simon Goldschmidt > Cc: Ley Foon Tan > Cc: Patrick Delaunay > Cc: Patrice Chotard > Signed-off-by: Andre Przywara For OMAP and K3 Acked-by: Lokesh Vutla Thanks and regards, Lokesh