bootm: Initialize bootm_data defaults in single place
Both the bootm and the boot code initialize the struct bootm_data
with defaults from the bootm global variables. Create a common
function for doing this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a853138 commit bc94fb379a46f9b4dabc982953a8d553c909bedb
@Sascha Hauer Sascha Hauer authored on 15 Jan 2016
Showing 4 changed files
View
commands/boot.c
View
commands/bootm.c
View
common/bootm.c
View
include/boot.h