[PATCH v3 19/46] pxe_utils: Simplify default fdt in label_run_boot()

Simon Glass sjg at chromium.org
Fri Dec 20 05:06:11 CET 2024


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 at chromium.org>
Suggested-by: Quentin Schulz <quentin.schulz at cherry.de>
---

(no changes since v2)

Changes in v2:
- Add new patch to simplify the code reading fdtcontroladdr and fdt_addr

 boot/pxe_utils.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Applied to sjg/master, thanks!


More information about the U-Boot mailing list