
13 Nov
2018
13 Nov
'18
7:51 p.m.
Hi Akahsi,
On 5 November 2018 at 20:15, AKASHI Takahiro takahiro.akashi@linaro.org wrote:
Hello Simon,
You said, in efi/lib_loader/efi_disk.c,
===8<===
- TODO(sjg@chromium.org): Actually with CONFIG_BLK, U-Boot does have this.
- Consider converting the code to look up devices as needed. The EFI device
- could be a child of the UCLASS_BLK block device, perhaps.
- This gets called from do_bootefi_exec().
*/ efi_status_t efi_disk_register(void) { ===>8===
What do you mean by this statement? Is it different from the code under "#if CONFIG_BLK"?
I guess that you would suggest that some hook function be called in blk_create_device() and blk_unbind_all(). No?
I would actually like EFI to use the U-Boot DM devices directly, with just the minimal amount of plumbing. Perhaps an EFI child device that gets created for each block device?
Regards, Simon