plugin-manager: Add support for partial and GE match
Currently the matching of board ID on board is done with exact
match. Add support for partial and >=fab ID support.
Partial match:
==============
If matching string start with '^' or having the '*' in id string
then apply partial match with board ID based on how string provided.
Example: Suppose Board ID is 3310-1000-100, then the matching is
done by saying ^3310-1000, 3310-1000-*, 3310-* etc.
^3310-1000 or 3310-1000-* means all fab ID of 3310-1000-,
3310-* means all SKU and fab ID of 3310.
Greater than-equal to match:
===========================
If matching string start with ">=" then it is applied for all board
of same type of module having fab ID >= sting fab ID.
Example: ">=3310-1000-100" means all fab 3310-1000-100 and later like
3310-1000-200, 3310-1000-300 etc.
bug
1750159
Change-Id: I1223d7c8add653cd54505e0d98693f72a5c3c824
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1119438
(cherry picked from commit
d3a7f2399b1617a61f7cf2d5abb159ecf6fbf44d from dev-kernel-3.18 in linux-3.18)
Reviewed-on: http://git-master/r/
1120768
(cherry picked from commit
b0cb5e66ed570cf06ee3560fcf616930ba61cbf9)
Reviewed-on: http://git-master/r/
1128341
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>