diff options
| author | Simon Glass <[email protected]> | 2021-10-14 12:48:05 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-11-11 19:02:30 -0500 |
| commit | 74b7a2b8815cf953ea0b72800bd9db7f0d6a119a (patch) | |
| tree | 49cf70c7cc0d176b73ca8eb0ee66d249b13cbd6b /include | |
| parent | 12df842ee324a7e188a643bfee6fe08f28127b26 (diff) | |
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 <[email protected]>
Reviewed-by: Artem Lapkin <[email protected]>
Tested-by: Artem Lapkin <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'include')
| -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 543d0245c8a..8b50f2e6861 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, |
