Get rid of the hacky fake boot-device and duplicate device-path constructing (which needs to match what efi_disk and efi_net do). Instead convert over to use efi_device_path helpers to construct device-paths, and use that to look up the actual boot device. Also, extract out a helper to plug things in properly to the loaded_image. In a following patch we'll want to re-use this in efi_load_image() to handle the case of loading an image from a file_path. Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de> (cherry picked from commit 95c5553ea268144056c4bafc318b9e8b5c096a6c) Change-Id: Iaa6a9865f2cbd15d6537d200bd86662fa4baf5a0 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> |
||
|---|---|---|
| .. | ||
| avb | ||
| bzip2 | ||
| dhry | ||
| efi | ||
| efi_loader | ||
| libfdt | ||
| lzma | ||
| lzo | ||
| optee_clientApi | ||
| rsa | ||
| tizen | ||
| zlib | ||
| Kconfig | ||
| Makefile | ||
| addr_map.c | ||
| aes.c | ||
| asm-offsets.c | ||
| bch.c | ||
| bidram.c | ||
| bitrev.c | ||
| charset.c | ||
| circbuf.c | ||
| crc7.c | ||
| crc8.c | ||
| crc16.c | ||
| crc32.c | ||
| crc32c.c | ||
| ctype.c | ||
| display_options.c | ||
| div64.c | ||
| errno.c | ||
| errno_str.c | ||
| fdtdec.c | ||
| fdtdec_common.c | ||
| fdtdec_test.c | ||
| gunzip.c | ||
| gzip.c | ||
| hang.c | ||
| hashtable.c | ||
| hexdump.c | ||
| initcall.c | ||
| ldiv.c | ||
| linux_compat.c | ||
| linux_string.c | ||
| list_sort.c | ||
| lmb.c | ||
| lz4.c | ||
| lz4_wrapper.c | ||
| md5.c | ||
| membuff.c | ||
| net_utils.c | ||
| of_live.c | ||
| panic.c | ||
| physmem.c | ||
| qsort.c | ||
| rand.c | ||
| rbtree.c | ||
| rc4.c | ||
| sha1.c | ||
| sha256.c | ||
| sha512.c | ||
| slre.c | ||
| smbios.c | ||
| stdlib.c | ||
| string.c | ||
| strmhz.c | ||
| strto.c | ||
| sysmem.c | ||
| tables_csum.c | ||
| time.c | ||
| tiny-printf.c | ||
| tpm.c | ||
| trace.c | ||
| uuid.c | ||
| vsprintf.c | ||