diff options
Diffstat (limited to 'include/boot.h')
-rw-r--r-- | include/boot.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/include/boot.h b/include/boot.h index 8d42d39103..3bb55e7b2e 100644 --- a/include/boot.h +++ b/include/boot.h @@ -7,6 +7,20 @@ #include <linux/list.h> #include <environment.h> +struct bootm_data { + const char *os_file; + const char *initrd_file; + const char *oftree_file; + int verbose; + bool verify; + bool force; + unsigned long initrd_address; + unsigned long os_address; + unsigned long os_entry; +}; + +int bootm_boot(struct bootm_data *data); + struct image_data { /* simplest case. barebox has already loaded the os here */ struct resource *os_res; @@ -94,8 +108,6 @@ static inline int linux_bootargs_overwrite(const char *bootargs) #define UIMAGE_SOME_ADDRESS (UIMAGE_INVALID_ADDRESS - 1) -int bootm_boot(struct image_data *); - unsigned long long getenv_loadaddr(const char *name); #endif /* __BOOT_H */ |