[PATCH] efi_loader: implement non-blocking file services

2021-01-01 Thread Heinrich Schuchardt
Implement the OpenEx(), ReadEx(), WriteEx(), and FlushEx() services of the EFI_FILE_PROTOCOL. Signed-off-by: Heinrich Schuchardt --- include/efi_api.h | 28 ++-- lib/efi_loader/efi_file.c | 297 +++--- 2 files changed, 258 insertions(+), 67 deletions(-)

Re: [PATCH] cmd: mmc: add mmcboot command

2021-01-01 Thread Heinrich Schuchardt
On 12/27/20 11:58 PM, Jaehoon Chung wrote: Hi Ravik, On 12/24/20 4:57 AM, Ravik Hasija wrote: Similar to usbboot, add command line to boot from raw mmc partition using common_diskboot(), which supports legacy or FIT images. Usage: mmcboot loadAaddr dev:part Where defaults to CONFIG_SYS_LOAD_

Re: [PATCH] drivers: mmc: support secure erase.

2021-01-01 Thread dennis laplacian1
Hi Jaehoon. The only degradation is that the check will be for every block in the deleted range and not for the range. I can move the check to mmc_erase_t, but then if the device is not supporting secure erase the error message will be printed for every block. I can check the support also in mmc_be

EFI System Resource Table

2021-01-01 Thread Heinrich Schuchardt
Hello Sughosh, hello Takahiro, do you plan to expose the U-Boot firmware in the EFI System Resource Table so that Linux fwupd will be able to detect that a capsule update is possible? Best regards Heinrich

[PATCH 1/1] efi_loader: implement non-blocking file services

2021-01-01 Thread Heinrich Schuchardt
Implement services OpenEx(), ReadEx(), WriteEx(), FlushEx() of the EFI_FILE_PROTOCOL. Signed-off-by: Heinrich Schuchardt --- include/efi_api.h | 28 ++-- lib/efi_loader/efi_file.c | 317 -- 2 files changed, 280 insertions(+), 65 deletions(-) diff --g