commit | 6ccc72b87b83ece31c2a75bbe07f440b0378f7a9 | [log] [tgz] |
---|---|---|
author | Dave Young <dyoung@redhat.com> | Thu Aug 14 17:15:27 2014 +0800 |
committer | Matt Fleming <matt.fleming@intel.com> | Fri Oct 03 18:40:58 2014 +0100 |
tree | 777aaf2d1e492963dc65bff61c236edb31532650 | |
parent | b2e0a54a1296a91b800f316df7bef7d1905e4fd0 [diff] |
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>