[U-Boot] [PATCH] common: Pass the boot device into spl_boot_mode()

Andreas Bießmann andreas at biessmann.org
Sun Jun 12 22:20:12 CEST 2016


On 14.05.16 23:42, Marek Vasut wrote:
> The SPL code already knows which boot device it calls the spl_boot_mode()
> on, so pass that information into the function. This allows the code of
> spl_boot_mode() avoid invokind spl_boot_device() again, but it also lets
> board_boot_order() correctly alter the behavior of the boot process.
> 
> The later one is important, since in certain cases, it is desired that
> spl_boot_device() return value be overriden using board_boot_order().
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Andreas Bießmann <andreas.devel at googlemail.com>
> Cc: Albert Aribaud <albert.u.boot at aribaud.net>
> Cc: Tom Rini <trini at konsulko.com>

Reviewed-by: Andreas Bießmann <andreas at biessmann.org>

There is now another user of spl_boot_device (zynqmp), should be easy to
adopt.

Tom, do you have any objections that I take this one for 2016.07. This
one is delegated to you but is required by another one delegated to me.

Andreas


More information about the U-Boot mailing list