diff options
author | Simon Glass <sjg@chromium.org> | 2013-07-04 20:26:09 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-07-10 13:15:14 (GMT) |
commit | a26913f32df0d26b94f6c5518d744df5ba6ededb (patch) | |
tree | 903f0168853899a84e045dd00a4600daedeca648 /include/image.h | |
parent | 385501d38b406c2d65b47c3978af2f659df89b28 (diff) | |
download | u-boot-a26913f32df0d26b94f6c5518d744df5ba6ededb.tar.xz |
bootm: Require boot function only if it is about to be used
The original bootm code (before commit 35fc84f) did not check for a valid
boot function in the subcommand case, which was incorrect.
This check was introduced in all cases, but in fact we should only check
for the function when we need it. Otherwise in some cases the check fires
before the OS type is known.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/image.h')
0 files changed, 0 insertions, 0 deletions