arm: Add Prep subcommand support to bootm
authorSimon Schwarz <simonschwarzcor@googlemail.com>
Thu, 15 Mar 2012 04:01:45 +0000 (04:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 27 Mar 2012 20:05:29 +0000 (22:05 +0200)
commit0a672d494d3e5d6265aefc4f450584875e2319ea
tree72bc75c0cb782cbe6136c0385cc5bc3a441a90b5
parent84c21fb16fe474f72109bf665a7cd841e17a2409
arm: Add Prep subcommand support to bootm

Adds prep subcommand to bootm implementation of ARM. When bootm is called
with the subcommand prep the function stops right after ATAGS creation and
before announce_and_cleanup.

This is used in command "cmd_spl export"

Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Tested-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/include/asm/bootm.h [new file with mode: 0644]
arch/arm/lib/bootm.c