[U-Boot] [PATCH v3] autostart: unify duplicated logic into the bootm code

Wolfgang Denk wd at denx.de
Mon Jul 25 22:18:37 CEST 2011


Dear Mike Frysinger,

In message <1307317382-22108-1-git-send-email-vapier at gentoo.org> you wrote:
> 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 at freescale.com>
> Acked-by: Scott Wood <scottwood at freescale.com>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> v3
> 	- fix unused warnings arising from variables no longer being used
> 
>  common/cmd_bootm.c |   15 +++++++++++++++
>  common/cmd_fdc.c   |   16 +---------------
>  common/cmd_fdos.c  |   11 +----------
>  common/cmd_ide.c   |   15 +--------------
>  common/cmd_nand.c  |   16 ++--------------
>  common/cmd_net.c   |   13 ++-----------
>  common/cmd_scsi.c  |   11 +----------
>  common/cmd_usb.c   |   13 ++-----------
>  include/command.h  |    8 ++++++++
>  9 files changed, 33 insertions(+), 85 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Uncontrolled power will turn even saints into savages. And we can all
be counted on to live down to our lowest impulses.
	-- Parmen, "Plato's Stepchildren", stardate 5784.3


More information about the U-Boot mailing list