]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
bootm: refactor do_reset and os boot function args
authorKumar Gala <galak@kernel.crashing.org>
Fri, 15 Aug 2008 13:24:45 +0000 (08:24 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 26 Aug 2008 21:48:01 +0000 (23:48 +0200)
commit40d7e99d374ba0a0a29cd1a8ba40d3b7c2c175c7
treeaedac5a8fffc541a91f1948428c242291f9c7053
parent40afac22a9c602e55c501c800f1c064324711b56
bootm: refactor do_reset and os boot function args

There is no need for each OS specific function to call do_reset() we
can just do it once in bootm. This means its feasible on an error for
the OS boot function to return.

Also, remove passing in cmd_tbl_t as its not needed by the OS boot
functions.  flag isn't currently used but might be in the future so
we left it alone.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 files changed:
common/cmd_bootm.c
lib_arm/bootm.c
lib_avr32/bootm.c
lib_blackfin/bootm.c
lib_i386/bootm.c
lib_m68k/bootm.c
lib_microblaze/bootm.c
lib_mips/bootm.c
lib_nios/bootm.c
lib_nios2/bootm.c
lib_ppc/bootm.c
lib_sh/bootm.c
lib_sparc/bootm.c