Skip to content
Commit 1fb7d0e6 authored by Bryan Wu's avatar Bryan Wu Committed by Tom Rini
Browse files

pxe: detect image format before calling bootm/bootz



Trying bootm for zImage will print out several error message which
is not necessary for this case. So detect image format firstly, only
try bootm for legacy and FIT format image then try bootz for others.

This patch needs new function genimg_get_kernel_addr().

Signed-off-by: default avatarBryan Wu <pengw@nvidia.com>
parent 0f64140b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment