Skip to content
Snippets Groups Projects
Commit ed3ce659 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt :speech_balloon:
Browse files

boot: set correct block device name in set_efi_bootdev()


For SATA devices the class name is 'ahci' but the block device name is
'sata'.

Use function blk_get_uclass_name() to retrieve the correct string.

Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 751e5bfd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment