pxe_utils: Simplify default fdt in label_run_boot()
authorSimon Glass <sjg@chromium.org>
Thu, 6 Mar 2025 00:25:13 +0000 (17:25 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 18 Mar 2025 19:12:15 +0000 (13:12 -0600)
commitfeb8d7fd749413e889ba2c396654f473ba32034d
tree7c101ad7bffe90b2430ca76effe24cb55fae9035
parentb13408021d361fbae1c254307f139ad1e6def3d2
pxe_utils: Simplify default fdt in label_run_boot()

Tidy up this code a little to avoid two calls to env_get() for both
fdt_addr and fdtcontroladdr

Signed-off-by: Simon Glass <sjg@chromium.org>
Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
boot/pxe_utils.c