]> git.sur5r.net Git - u-boot/commit
efi_loader: Add mem-mapped for fallback
authorRob Clark <robdclark@gmail.com>
Tue, 10 Oct 2017 12:23:06 +0000 (08:23 -0400)
committerAlexander Graf <agraf@suse.de>
Thu, 12 Oct 2017 15:22:58 +0000 (17:22 +0200)
commitbf19273e81eb5e23c9bc14c3881f92a120565561
tree0d93e3782caf9afc4295d1f8a872ab798bbd0adf
parentbcbc4a80462c42c5d5ccac0287b8a7d49df9e179
efi_loader: Add mem-mapped for fallback

When we don't have a real device/image path, such as 'bootefi hello',
construct a mem-mapped device-path.

This fixes 'bootefi hello' after devicepath refactoring.

Fixes: 95c5553ea2 ("efi_loader: refactor boot device and loaded_image handling")
Signed-off-by: Rob Clark <robdclark@gmail.com>
Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c
include/efi_api.h
include/efi_loader.h
lib/efi_loader/efi_device_path.c
lib/efi_loader/efi_device_path_to_text.c