]> git.dujemihanovic.xyz Git - u-boot.git/commit
pxe: Move do_getfile() into the context
authorSimon Glass <sjg@chromium.org>
Thu, 14 Oct 2021 18:47:57 +0000 (12:47 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Nov 2021 00:02:14 +0000 (19:02 -0500)
commitb1ead6b9087f1f96cb117d72e3e5cf0d5fb708f5
treef25a8c8de5539f31d9fb5688ce3d0f10d41cad2e
parentfd3fa5c3941d4de0736d066f77d0158cf933e207
pxe: Move do_getfile() into the context

Rather than having a global variable, pass the function as part of the
context.

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>
cmd/pxe.c
cmd/pxe_utils.c
cmd/pxe_utils.h
cmd/sysboot.c