]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pxe: detect image format before calling bootm/bootz
authorBryan Wu <cooloney@gmail.com>
Fri, 1 Aug 2014 00:39:59 +0000 (17:39 -0700)
committerTom Rini <trini@ti.com>
Sat, 9 Aug 2014 15:19:01 +0000 (11:19 -0400)
commit1fb7d0e61996971757876228ceed74c3a401ffea
tree1d20489bafa398692ae6fe20fe5acb88340a52fb
parent0f64140b69ecf18f488164739374ca13aa0a5517
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: Bryan Wu <pengw@nvidia.com>
common/cmd_pxe.c