]> git.dujemihanovic.xyz Git - u-boot.git/commit
pxe: Refactor to avoid over-using bootm_argv
authorSimon Glass <sjg@chromium.org>
Fri, 15 Dec 2023 04:19:10 +0000 (21:19 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 10 Apr 2024 23:04:25 +0000 (17:04 -0600)
commit03a4a6d5bc9823576571bba5826d85f3b3c3a523
tree89330879ef961506a112ff73853890fa430a4710
parent39ee4a14a940bc5ffa2168dd729eb7018dbe19cd
pxe: Refactor to avoid over-using bootm_argv

The bootm_argv[3] expression is used in many places. It is the FDT
address, so use that name throughout.

Assign it to bootm_argv[3] only at the end, when all the conditions are
resolved.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/pxe_utils.c