diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-14 12:20:05 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-26 22:45:40 +0100 |
commit | aded35ece45620df5a3d729f5218270348d2e1c6 (patch) | |
tree | 13faa859bb03182456d35ef3379158a74774598e /include/boot.h | |
parent | 3f0835e0741c80305faf638aaf174ac9d235e83e (diff) | |
download | barebox-aded35ece45620df5a3d729f5218270348d2e1c6.tar.gz barebox-aded35ece45620df5a3d729f5218270348d2e1c6.tar.xz |
bootm: move initrd code together
The initrd code is distributed in several places in the bootm code.
Move it all together in bootm_load_initrd().
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/boot.h')
-rw-r--r-- | include/boot.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/boot.h b/include/boot.h index 9ddb18b11b..7c6d9c8357 100644 --- a/include/boot.h +++ b/include/boot.h @@ -110,7 +110,10 @@ static inline int linux_bootargs_overwrite(const char *bootargs) #endif int bootm_load_os(struct image_data *data, unsigned long load_address); + +bool bootm_has_initrd(struct image_data *data); int bootm_load_initrd(struct image_data *data, unsigned long load_address); + int bootm_load_devicetree(struct image_data *data, unsigned long load_address); int bootm_get_os_size(struct image_data *data); |