]> git.sur5r.net Git - u-boot/commit
main: Separate out the two abortboot() functions
authorSimon Glass <sjg@chromium.org>
Wed, 15 May 2013 06:23:55 +0000 (06:23 +0000)
committerTom Rini <trini@ti.com>
Tue, 4 Jun 2013 20:06:31 +0000 (16:06 -0400)
commit063ae006aedf1f828d8e23177eb8e049ce4fe968
tree2a6dc25f96c67b37b096e29714e675f0ec61dda9
parentea5427e2607041f6f5cf0bff8f5c85bc7f67dbf8
main: Separate out the two abortboot() functions

There are two implementations of abortboot(). Turn these into two separate
functions, and create a single abortboot() which calls either one or the
other.

Also it seems that nothing uses abortboot() outside main, so make it static.

At this point there is no further use of CONFIG_MENU in main.c.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
common/main.c
include/common.h