Heinrich Schuchardt fbc04c0dab efi_loader: fix display of NVMe EUI-64
UEFI specification 2.9A requires to display the EUI-64 "in hexadecimal
format with byte 7 first (i.e., on the left) and byte 0 last".

This is in contrast to what the NVMe specification wants.
But it is what EDK II has been implementing.

Here is an example with the patch applied:

    qemu-system-aarch64 -machine virt -cpu cortex-a72 -nographic \
    -bios denx/u-boot.bin \
    -device nvme,id=nvme1,serial=9ff81223 \
    -device nvme-ns,bus=nvme1,drive=nvme1n0,eui64=0x123456789ABCDEF0 \
    -drive file=arm64.img,if=none,format=raw,id=nvme1n0

    => nvme scan
    => efidebug devices
    Device Path
    ====================
    /VenHw(…)/NVMe(0x1,f0-de-bc-9a-78-56-34-12)

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-09-03 10:49:17 +02:00
..
2022-01-18 08:31:02 -05:00
2022-07-11 14:58:57 -04:00
2022-05-03 21:39:22 +02:00
2022-04-06 14:01:42 -04:00
2022-01-19 18:11:34 +01:00
2022-07-26 02:30:56 -06:00
2020-05-18 21:19:18 -04:00
2022-01-19 18:11:34 +01:00
2019-12-02 18:23:07 -05:00
2022-08-12 08:14:23 -04:00
2019-10-31 07:22:53 -04:00
2020-10-30 10:56:11 -04:00
2021-10-08 15:53:26 -04:00
2021-09-04 12:26:01 -04:00
2022-08-12 16:10:50 -04:00
2022-08-10 13:38:30 -04:00
2022-03-15 16:19:29 -04:00
2022-06-28 17:03:32 -04:00
2021-09-16 10:29:40 -04:00
2019-12-06 16:44:20 -05:00
2020-05-18 21:19:18 -04:00
2021-07-14 16:57:35 -04:00
2020-05-18 21:19:18 -04:00
2020-08-24 14:11:31 -04:00
2021-10-08 15:53:26 -04:00
2021-07-15 18:42:05 -04:00
2022-01-19 18:11:34 +01:00
2022-09-03 09:35:48 +02:00