diff options
author | Dave Young <dyoung@redhat.com> | 2014-08-14 17:15:27 +0800 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-10-03 18:40:58 +0100 |
commit | 6ccc72b87b83ece31c2a75bbe07f440b0378f7a9 (patch) | |
tree | 777aaf2d1e492963dc65bff61c236edb31532650 /drivers/firmware/efi/efi.c | |
parent | b2e0a54a1296a91b800f316df7bef7d1905e4fd0 (diff) | |
download | op-kernel-dev-6ccc72b87b83ece31c2a75bbe07f440b0378f7a9.zip op-kernel-dev-6ccc72b87b83ece31c2a75bbe07f440b0378f7a9.tar.gz |
lib: Add a generic cmdline parse function parse_option_str
There should be a generic function to parse params like a=b,c
Adding parse_option_str in lib/cmdline.c which will return true
if there's specified option set in the params.
Also updated efi=old_map parsing code to use the new function
Signed-off-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/firmware/efi/efi.c')
0 files changed, 0 insertions, 0 deletions