mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
Also, create disk objects for the disk itself, in addition to the partitions. (UEFI terminology is a bit confusing, a "disk" object is really a partition.) This helps grub properly identify the boot device since it is trying to match up partition "disk" object with it's parent device. Now instead of seeing devices like: /File(sdhci@07864000.blk)/EndEntire /File(usb_mass_storage.lun0)/EndEntire You see: /ACPI(133741d0,0)/UnknownMessaging(1d)/EndEntire /ACPI(133741d0,0)/UnknownMessaging(1d)/HD(0,800,64000,dd904a8c00000000,1,1)/EndEntire /ACPI(133741d0,0)/UnknownMessaging(1d)/HD(1,64800,200000,dd904a8c00000000,1,1)/EndEntire /ACPI(133741d0,0)/UnknownMessaging(1d)/HD(2,264800,19a000,dd904a8c00000000,1,1)/EndEntire /ACPI(133741d0,0)/USB(0,0)/USB(0,0)/USB(0,0)/EndEntire /ACPI(133741d0,0)/USB(0,0)/USB(0,0)/USB(0,0)/HD(0,800,60000,38ca680200000000,1,1)/EndEntire /ACPI(133741d0,0)/USB(0,0)/USB(0,0)/USB(0,0)/HD(1,61000,155000,38ca680200000000,1,1)/EndEntire /ACPI(133741d0,0)/USB(0,0)/USB(0,0)/USB(0,0)/HD(2,20fa800,1bbf8800,38ca680200000000,1,1)/EndEntire /ACPI(133741d0,0)/USB(0,0)/USB(0,0)/USB(0,0)/HD(3,1b6800,1f44000,38ca680200000000,1,1)/EndEntire This is on a board with single USB disk and single sd-card. The UnknownMessaging(1d) node in the device-path is the MMC device, but grub_efi_print_device_path() hasn't been updated yet for some of the newer device-path sub-types. This patch is inspired by a patch originally from Peter Jones, but re-worked to use efi_device_path, so it doesn't much resemble the original. Signed-off-by: Rob Clark <robdclark@gmail.com> [agraf: s/unsigned/unsigned int/] Signed-off-by: Alexander Graf <agraf@suse.de> |
||
|---|---|---|
| .. | ||
| at91 | ||
| bzip2 | ||
| dhry | ||
| efi | ||
| efi_loader | ||
| efi_selftest | ||
| libfdt | ||
| lzma | ||
| lzo | ||
| rsa | ||
| tizen | ||
| zlib | ||
| addr_map.c | ||
| aes.c | ||
| asm-offsets.c | ||
| bch.c | ||
| bitrev.c | ||
| charset.c | ||
| circbuf.c | ||
| crc7.c | ||
| crc8.c | ||
| crc16.c | ||
| crc32.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 | ||
| initcall.c | ||
| Kconfig | ||
| ldiv.c | ||
| linux_compat.c | ||
| linux_string.c | ||
| list_sort.c | ||
| lmb.c | ||
| lz4.c | ||
| lz4_wrapper.c | ||
| Makefile | ||
| 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 | ||
| slre.c | ||
| smbios.c | ||
| string.c | ||
| strmhz.c | ||
| strto.c | ||
| tables_csum.c | ||
| time.c | ||
| tiny-printf.c | ||
| tpm.c | ||
| trace.c | ||
| uuid.c | ||
| vsprintf.c | ||