diff options
author | Simon Glass <sjg@chromium.org> | 2023-01-17 20:48:08 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-24 02:11:41 +0300 |
commit | eacc261178b9c8024cb8de89ee4ca6c68d80d96a (patch) | |
tree | e40fcef678725303048937f4b2d5a393c8613be1 /doc/develop | |
parent | 79a7d4a61ff34c7745811c7b3090a60b230c2ef9 (diff) | |
download | u-boot-eacc261178b9c8024cb8de89ee4ca6c68d80d96a.tar.xz |
bootstd: Add a new pre-scan priority for bootdevs
We need extensions to be set up before we start trying to boot any of the
bootdevs. Add a new priority before all the others for tht sort of thing.
Also add a 'none' option, so that the first one is not 0.
While we are here, comment enum bootdev_prio_t fully and expand the test
for the 'bootdev hunt' command.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/develop')
-rw-r--r-- | doc/develop/bootstd.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/develop/bootstd.rst b/doc/develop/bootstd.rst index 1ccc49424e..bfa8cbd756 100644 --- a/doc/develop/bootstd.rst +++ b/doc/develop/bootstd.rst @@ -211,7 +211,7 @@ A bootdev driver is typically fairly simple. Here is one for mmc:: { struct bootdev_uc_plat *ucp = dev_get_uclass_plat(dev); - ucp->prio = BOOTDEVP_0_INTERNAL_FAST; + ucp->prio = BOOTDEVP_2_INTERNAL_FAST; return 0; } |