bootstd: Allow the bootdev to be optional in bootflows
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jul 2022 21:52:23 +0000 (15:52 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Aug 2022 12:17:11 +0000 (08:17 -0400)
commiteccb25cd5922edebc15f135923aa2b4bbd26527d
tree4ffd44ff0c951a104d180a3239b06984efa3a486
parent2662b54d70fc04f070f0e4a9742d4b3197c9f3ea
bootstd: Allow the bootdev to be optional in bootflows

With global bootmeths we want to scan without a bootdev. Update the logic
to allow this.

Change the bootflow command to show the bootdev only when valid.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootdev-uclass.c
boot/bootflow.c
cmd/bootflow.c