]> git.baikalelectronics.ru Git - uboot.git/commit
pxe: Tidy up the is_pxe global
authorSimon Glass <sjg@chromium.org>
Thu, 14 Oct 2021 18:47:59 +0000 (12:47 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Nov 2021 00:02:19 +0000 (19:02 -0500)
commit46ef99d815504a9518111289e2e531787bdb26a6
tree091bd6efbffc90818cc297493fce681dcb196fec
parentc5d9a57edf082e3bf9dfa2642fabe173427b8149
pxe: Tidy up the is_pxe global

Move this into the context to avoid a global variable. Also rename it
since the current name does not explain what it actually affects.

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