bootm: introduce bootm_load_os helper
The common bootm code used to load uImage contents to SDRAM
before calling into the handlers if possible. This makes the
handlers complicated since they have to handle many cases. Instead,
introduce a helper to load the os after the handlers have figured
out a good load address.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f1025bb commit 9bd67f5e6184ecd03b8e052706218f2a741027c3
@Sascha Hauer Sascha Hauer authored on 9 Jan 2014
Showing 6 changed files
View
arch/arm/lib/bootm.c
View
arch/blackfin/lib/blackfin_linux.c
View
arch/nios2/lib/bootm.c
View
arch/ppc/lib/ppclinux.c
View
common/bootm.c
View
include/boot.h