param: introduce param_bitmask
param_bitmask behaves similar to an enum, except that with a bitmask
multiple values can be specified. On the command line the bits are
represented as a space separated list of strings. In memory a
unsigned long * is used as backend storage, this can be modified
using the regular bitmap functions.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5cc00c3 commit 18697b7afcfb1688920b3eede30b85064b7b5b54
@Sascha Hauer Sascha Hauer authored on 12 Sep 2016
Showing 2 changed files
View
include/param.h
View
lib/parameter.c