mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
bootstd: Correct creating of bootdev sibling
Use the correct function here, since there may be multiple IDE devices available. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
This commit is contained in:
parent
d7d78576bb
commit
2d5b5a9cdb
1 changed files with 2 additions and 2 deletions
|
@ -1059,9 +1059,9 @@ static int ide_probe(struct udevice *udev)
|
|||
desc->lba48 = pdesc.lba48;
|
||||
desc->type = pdesc.type;
|
||||
|
||||
ret = bootdev_setup_for_dev(udev, "ide_bootdev");
|
||||
ret = bootdev_setup_for_sibling_blk(blk, "ide_bootdev");
|
||||
if (ret)
|
||||
return log_msg_ret("bootdev", ret);
|
||||
return log_msg_ret("bd", ret);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue