diff options
author | Simon Glass <sjg@chromium.org> | 2021-10-14 21:48:05 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-11-12 03:02:30 +0300 |
commit | 74b7a2b8815cf953ea0b72800bd9db7f0d6a119a (patch) | |
tree | 49cf70c7cc0d176b73ca8eb0ee66d249b13cbd6b /include/pxe_utils.h | |
parent | 12df842ee324a7e188a643bfee6fe08f28127b26 (diff) | |
download | u-boot-74b7a2b8815cf953ea0b72800bd9db7f0d6a119a.tar.xz |
pxe: Drop get_bootfile_path()
This function no longer makes sense, since it is pretty easy to prepend
the boot directory to the filename. Drop it and update its only caller.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Artem Lapkin <email2tema@gmail.com>
Tested-by: Artem Lapkin <email2tema@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'include/pxe_utils.h')
-rw-r--r-- | include/pxe_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pxe_utils.h b/include/pxe_utils.h index 543d0245c8..8b50f2e686 100644 --- a/include/pxe_utils.h +++ b/include/pxe_utils.h @@ -202,7 +202,8 @@ int format_mac_pxe(char *outbuf, size_t outbuf_len); * @allow_abs_path: true to allow absolute paths * @bootfile: Bootfile whose directory loaded files are relative to, NULL if * none - * @return 0 if OK, -ENOMEM if out of memory + * @return 0 if OK, -ENOMEM if out of memory, -E2BIG if bootfile is larger than + * MAX_TFTP_PATH_LEN bytes */ int pxe_setup_ctx(struct pxe_context *ctx, struct cmd_tbl *cmdtp, pxe_getfile_func getfile, void *userdata, |