Skip to content
Snippets Groups Projects
Commit 40d7e99d authored by Kumar Gala's avatar Kumar Gala Committed by Wolfgang Denk
Browse files

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: default avatarKumar Gala <galak@kernel.crashing.org>
parent 40afac22
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment