From 6d972b95c6d9d980d53bbe4e85d471ccae72140e Mon Sep 17 00:00:00 2001 From: Marcin Nowakowski Date: Fri, 2 Dec 2016 10:49:11 +0100 Subject: 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 Cc: Ralf Baechle Cc: linux-mips@linux-mips.org Signed-off-by: Simon Horman --- kexec/arch/mips/kexec-mips.h | 1 + 1 file changed, 1 insertion(+) (limited to 'kexec/arch/mips/kexec-mips.h') 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; }; -- cgit