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> |
---|
|
commands/boot.c |
---|
commands/bootm.c |
---|
common/bootm.c |
---|
include/boot.h |
---|