
On Fri, Oct 18, 2024 at 08:51:51AM -0600, Simon Glass wrote:
At present there is a function, efi_set_bootdev(), which is used in various places to tell the EFI loader which device a file came from.
With bootstd, this information is available in the bootflow.
This little series provides a way for bootstd to provide the bootflow to the EFI loader, so that it is able to select the correct paths.
For now only the EFI bootmeth is updated.
I think this takes things in the wrong direction. I'm going to link to my post in another series now: https://lore.kernel.org/u-boot/20241017232413.724808-1-sjg@chromium.org/T/#m... as I think we need to deal with this problem at a more common point which will allow us to handle other enhancements as well, without requiring changes in every possible path we could load something in, to capture this information.