Re: [U-Boot] [PATCH] pxe: detect image format before calling bootm/bootz

2014-07-31 Thread Bryan Wu
On Thu, Jul 31, 2014 at 10:36 AM, Stephen Warren wrote: > On 07/30/2014 04:54 PM, Bryan Wu wrote: >> >> 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 b

Re: [U-Boot] [PATCH] pxe: detect image format before calling bootm/bootz

2014-07-31 Thread Stephen Warren
On 07/30/2014 04:54 PM, Bryan Wu wrote: 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. diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c

[U-Boot] [PATCH] pxe: detect image format before calling bootm/bootz

2014-07-30 Thread Bryan Wu
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. Signed-off-by: Bryan Wu --- common/cmd_pxe.c | 10 +++--- 1 file changed, 7 insertions(