From: Heinrich Schuchardt Date: Tue, 18 Jun 2019 19:27:20 +0200 Subject: [U-Boot] [PATCH v1] fs: do_load: pass device path for efi payload In-Reply-To: <20190618130344.11790-1-ykaukab@suse.de> References: <20190618130344.11790-1-ykaukab@suse.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de On 6/18/19 3:03 PM, Mian Yousaf Kaukab wrote: > fatload command can be used to load the EFI payload since EFI system > partition is always a FAT partition. Call into EFI code from do_load() > to set the device path from which the last binary was loaded. An EFI > application like grub2 can=E2=80=99t find its configuration file without = the > device path set. > > Since device path is now set in do_load() there is no need to set it > in do_load_wrapper() for the load command. > > Signed-off-by: Mian Yousaf Kaukab Reviewed-by: Heinrich Schuchardt