lib: Add a generic cmdline parse function parse_option_str
authorDave Young <dyoung@redhat.com>
Thu, 14 Aug 2014 09:15:27 +0000 (17:15 +0800)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 3 Oct 2014 17:40:58 +0000 (18:40 +0100)
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>

No differences found