]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/boot/compressed/eboot.c
efi: Add efi= parameter parsing to the EFI boot stub
[mirror_ubuntu-artful-kernel.git] / arch / x86 / boot / compressed / eboot.c
index f277184e2ac1356686d9b200bccf54bdf7bf7f9f..f4bdab1dbf66668b403a350cec8003aba71e6502 100644 (file)
@@ -1100,6 +1100,10 @@ struct boot_params *make_boot_params(struct efi_config *c)
        else
                initrd_addr_max = hdr->initrd_addr_max;
 
+       status = efi_parse_options(cmdline_ptr);
+       if (status != EFI_SUCCESS)
+               goto fail2;
+
        status = handle_cmdline_files(sys_table, image,
                                      (char *)(unsigned long)hdr->cmd_line_ptr,
                                      "initrd=", initrd_addr_max,