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)
commit8018b9af57b5cd0cfddf48a8d12f04dba8b77a65
tree091bd6efbffc90818cc297493fce681dcb196fec
parent4ad5d51edb6525402b371cc8f8a3bee1b6a42414
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