mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
3c2e531cb8
commit
4de979f664
8 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue