diff options
author | Tom Rini <trini@konsulko.com> | 2022-08-27 08:07:09 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-27 08:07:09 -0400 |
commit | 1573b6a86993fcf80d4badc866a46b78df7e6bda (patch) | |
tree | d56567f58fac5b9cd1578df9e0bd5a8982a27235 /boot/bootmeth_distro.c | |
parent | cd3872ce7e5bf90424a10eda0fe405d04e82adb9 (diff) | |
parent | c2ee5ee7b3393770dbe809ca36814083feffaf83 (diff) |
Merge tag 'dm-pull-26aug22' of https://source.denx.de/u-boot/custodians/u-boot-dm
binman/patman documentation improvements
other minor fixes
Diffstat (limited to 'boot/bootmeth_distro.c')
-rw-r--r-- | boot/bootmeth_distro.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/bootmeth_distro.c b/boot/bootmeth_distro.c index fea09b2c2f..5c6c687f0a 100644 --- a/boot/bootmeth_distro.c +++ b/boot/bootmeth_distro.c @@ -35,8 +35,8 @@ static int distro_get_state_desc(struct udevice *dev, char *buf, int maxsize) return 0; } -static int disto_getfile(struct pxe_context *ctx, const char *file_path, - char *file_addr, ulong *sizep) +static int distro_getfile(struct pxe_context *ctx, const char *file_path, + char *file_addr, ulong *sizep) { struct distro_info *info = ctx->userdata; ulong addr; @@ -113,7 +113,7 @@ static int distro_boot(struct udevice *dev, struct bootflow *bflow) addr = map_to_sysmem(bflow->buf); info.dev = dev; info.bflow = bflow; - ret = pxe_setup_ctx(&ctx, &cmdtp, disto_getfile, &info, true, + ret = pxe_setup_ctx(&ctx, &cmdtp, distro_getfile, &info, true, bflow->subdir); if (ret) return log_msg_ret("ctx", -EINVAL); |