]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
bootm: Reinstate special case for standalone images
authorSimon Glass <sjg@chromium.org>
Thu, 26 Dec 2013 23:26:24 +0000 (16:26 -0700)
committerTom Rini <trini@ti.com>
Tue, 14 Jan 2014 14:01:05 +0000 (09:01 -0500)
commitc5cbe1e299b60063e43a9008e85df95c8006d28f
tree55411cfcb023796260ca018b5505950b31efcf05
parentc9b0fa310ccc735f11afe52d3b14021c607931e4
bootm: Reinstate special case for standalone images

For standalone images, bootm had a special case where the OS boot function
was NULL but did actually exist. It was just called manually.

This was removed by commit 35fc84fa which checks for the non-existence of
this function before the special case is examined.

There is no obvious reason why standalone is handled with a special case.
Adjust the code so that standalone has a normal OS boot function. We still
need a special case for when the function returns, but at least we can
avoid the main problem.

This is intended to fix the reported:

    ERROR: booting os 'U-Boot' (17) is not supported

but needs testing.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_bootm.c