diff options
author | Simon Glass | 2023-07-12 09:04:32 -0600 |
---|---|---|
committer | Bin Meng | 2023-07-16 23:13:17 +0800 |
commit | 4de979f6646d05d13572ecd2b652f0358dfa5de6 (patch) | |
tree | 72c69e233ff155baee85766856947d2398962e8f /boot | |
parent | 3c2e531cb8f19841cb734c18623832c73d16c26b (diff) |
bootstd: Use bootdev instead of bootdevice
It seems better to call this a 'bootdev' since this is name used in the
documentation. The older 'Bootdevice' name is no-longer used and may cause
confusion with the 'bootdevice' environment variable.
Update throughout to use bootdev.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/bootflow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/bootflow.c b/boot/bootflow.c index 8f2cb876bb4..487552fa28c 100644 --- a/boot/bootflow.c +++ b/boot/bootflow.c @@ -315,14 +315,14 @@ static int bootflow_check(struct bootflow_iter *iter, struct bootflow *bflow) /* If we got a valid bootflow, return it */ if (!ret) { - log_debug("Bootdevice '%s' part %d method '%s': Found bootflow\n", + log_debug("Bootdev '%s' part %d method '%s': Found bootflow\n", dev->name, iter->part, iter->method->name); return 0; } /* Unless there is nothing more to try, move to the next device */ else if (ret != BF_NO_MORE_PARTS && ret != -ENOSYS) { - log_debug("Bootdevice '%s' part %d method '%s': Error %d\n", + log_debug("Bootdev '%s' part %d method '%s': Error %d\n", dev->name, iter->part, iter->method->name, ret); /* * For 'all' we return all bootflows, even |