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 19efd96 commit fe092b570352a4f5196fe0076b85e200206814d8
@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