[U-Boot] [PATCH V4 11/13] spl: announce boot devices

Simon Glass sjg at chromium.org
Mon Nov 9 21:24:48 CET 2015


On 8 November 2015 at 07:11, Nikita Kiryanov <nikita at compulab.co.il> wrote:
> Now that we support alternative boot devices, it can sometimes be
> unclear which boot devices was actually used. Provide a function to
> announce which boot devices are attempted during boot.
>
> Signed-off-by: Nikita Kiryanov <nikita at compulab.co.il>
> Cc: Igor Grinberg <grinberg at compulab.co.il>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Simon Glass <sjg at chromium.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
> Changes in V2:
>         - Moved new code to be located after #ifndef BOOT_DEVICE_NONE
>
> Changes in V3:
>         - Reworked announce_boot_device() to make the code less repititive by
>           utilizing a table of boot_device --> name.
>
> Changes in V2:
>         - No changes.
>
>  common/spl/spl.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 79 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list