boot: Update bootmeth read_file() to support reservation
In some cases we don't have a particular address to read into so would like one reserved. Adjust the read_file() method to support this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -74,7 +74,7 @@ static int efi_mgr_read_bootflow(struct udevice *dev, struct bootflow *bflow)
|
||||
}
|
||||
|
||||
static int efi_mgr_read_file(struct udevice *dev, struct bootflow *bflow,
|
||||
const char *file_path, ulong addr,
|
||||
const char *file_path, ulong *addrp, ulong align,
|
||||
enum bootflow_img_t type, ulong *sizep)
|
||||
{
|
||||
/* Files are loaded by the 'bootefi bootmgr' command */
|
||||
|
||||
Reference in New Issue
Block a user