Re: [PATCH 3/4] x86, efi: Add an efi= kernel command line parameter

From: Matt Fleming
Date: Thu Jun 06 2013 - 06:42:32 EST


On Sun, 02 Jun, at 02:56:09PM, Borislav Petkov wrote:
> +
> +static int __init parse_efi_cmdline(char *str)
> +{
> + if (*str == '=')
> + str++;
> + if (!strncmp(str, "1:1_map", 7))
> + efi_config |= EFI_CFG_MAP11;
> +
> + return 0;
> +}
> +early_param("efi", parse_efi_cmdline);

This is fine for testing, but I genuinely think that this should be on
by default once these patches are final.

--
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/