]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: pxe_utils: Limit fdtcontroladdr usage to non-fitImage
authorMarek Vasut <marex@denx.de>
Wed, 14 Dec 2022 06:45:18 +0000 (07:45 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Jan 2023 13:14:19 +0000 (08:14 -0500)
commitb4b68ea2658800b7cdd89364409ebccd2f9332b9
tree183585310fad35beb3c651a75656d6be53f9fe96
parent5161ea7eb8150c1bb161efef6ad52dc7e4f03afe
cmd: pxe_utils: Limit fdtcontroladdr usage to non-fitImage

Commit 656da1c3c59 ("cmd: pxe_utils: Check fdtcontroladdr in label_boot")
forces '$fdtcontroladdr' DT address as a third parameter of bootm command
even if the PXE transfer pulls in a fitImage which contains configuration
node with its own DT that is preferrable to be passed to Linux. Limit the
$fdtcontroladdr fallback utilization to non-fitImages, since it is highly
likely a fitImage would come with its own DT, while single-file images do
need a separate DT.

Fixes: 656da1c3c59 ("cmd: pxe_utils: Check fdtcontroladdr in label_boot")
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Tested-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Peter Hoyes <peter.hoyes@arm.com>
Tested-by: Peter Hoyes <peter.hoyes@arm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
boot/pxe_utils.c