]> git.dujemihanovic.xyz Git - u-boot.git/commit
pxe: Move common parsing coding into pxe_util
authorSimon Glass <sjg@chromium.org>
Thu, 14 Oct 2021 18:48:03 +0000 (12:48 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Nov 2021 00:02:27 +0000 (19:02 -0500)
commit9e62e7ca543ea94a46f30053262f67202e2435f4
tree9488e089c17fb5836b8a3157e8fee5dbe26cb097
parent929860bfbb3bb3d1bed1f5cbb8af8fbe8e5460a7
pxe: Move common parsing coding into pxe_util

Both the syslinux and pxe commands use essentially the same code to parse
and run extlinux.conf files. Move this into a common function.

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