u-boot/arch/nios2
Simon Glass 983c72f479 Clarify bootm OS arguments
At present the arguments to bootm are processed in a somewhat confusing
way. Sub-functions must know how many arguments their calling functions
have processed, and the OS boot function must also have this information.
Also it isn't obvious that 'bootm' and 'bootm start' provide arguments in
the same way.

Adjust the code so that arguments are removed from the list before calling
a sub-function. This means that all functions can know that argv[0] is the
first argument of which they need to take notice.

Signed-off-by: Simon Glass <sjg@chromium.org>
2013-06-26 10:16:41 -04:00
..
cpu Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-03-18 14:37:18 -04:00
include/asm Introduce generic link section.h symbol files 2013-03-15 16:13:58 -04:00
lib Clarify bootm OS arguments 2013-06-26 10:16:41 -04:00
config.mk nios2: Make STANDALONE_LOAD_ADDR configurable per board 2011-05-16 21:00:43 -04:00