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:
@@ -34,7 +34,7 @@ static int fel_read_bootflow(struct udevice *dev, struct bootflow *bflow)
|
||||
}
|
||||
|
||||
static int fel_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)
|
||||
{
|
||||
return -ENOSYS;
|
||||
|
||||
Reference in New Issue
Block a user