[U-Boot] [RFC] efi_loader: memory type in device path allocation

AKASHI Takahiro takahiro.akashi at linaro.org
Mon Feb 25 01:30:38 UTC 2019

In efi_device_path.c, dp_alloc() uses efi_allocate_pool() with
This usage is just wrong as the first argument to efi_allocate_pool()
should be of efi_mem_type, not "allocation type."

Since this routine is called as part of device path * protocol,
I don't know what is the best value here.
(EFI_BOOT_SERVICES_DATA as far as I looked into EDK2 shell implementation.)

-Takahiro Akashi

More information about the U-Boot mailing list