autostart: unify duplicated logic into the bootm code
authorMike Frysinger <vapier@gentoo.org>
Sun, 5 Jun 2011 13:43:02 +0000 (13:43 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 25 Jul 2011 20:18:26 +0000 (22:18 +0200)
commit67d668bf926ae50a1196a8561ae5075fd69a8eb2
treea5f7e905a55b5f32718a1d1ac7616e9eb995e9be
parent51f924e5ce4f69659ef385739f4604054d9b5bb7
autostart: unify duplicated logic into the bootm code

Rather than having a bunch of random commands handle autostart behavior,
unify the logic in a single place.  This also fixes building of these

different commands when bootm is disabled.

Acked-by: Matthew McClintock <msm@freescale.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_bootm.c
common/cmd_fdc.c
common/cmd_fdos.c
common/cmd_ide.c
common/cmd_nand.c
common/cmd_net.c
common/cmd_scsi.c
common/cmd_usb.c
include/command.h