diff options
author | Marcin Nowakowski <marcin.nowakowski@imgtec.com> | 2016-12-02 10:49:11 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2016-12-09 08:56:34 +0100 |
commit | 6d972b95c6d9d980d53bbe4e85d471ccae72140e (patch) | |
tree | ff2e18a21290fd6c6ad365d44b1eba7447e60a9b /kexec/arch/mips/kexec-mips.h | |
parent | 83a53ce9248fbcdf9dcac507b895d818db8c1706 (diff) |
mips: add option to load initrd from a specified file
Use kexec's existing infrastrucutre for supporting initrd loading.
The initrd image is loaded into a buffer after the dtb and its details
passed through the device tree, so it's supported on newer platforms
that make use of the device tree passed from kexec.
Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/mips/kexec-mips.h')
-rw-r--r-- | kexec/arch/mips/kexec-mips.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/arch/mips/kexec-mips.h b/kexec/arch/mips/kexec-mips.h index a609fb5..222c815 100644 --- a/kexec/arch/mips/kexec-mips.h +++ b/kexec/arch/mips/kexec-mips.h @@ -20,6 +20,7 @@ void elf_mips_usage(void); struct arch_options_t { char *command_line; char *dtb_file; + char *initrd_file; int core_header_type; }; |