vpd: Generalized replacement for block_devmode_vpd.

Old script allowed to enable or disable block_devmode in
VPD. The new script allows to do the same to any flag
and supports multiple flags in the input.

To be used by login_manager::VpdProcessImpl.

BUG=chromium:438234
TEST=Tested manually in console
CQ-DEPEND=CL:336438, CL:344511

Change-Id: I8b22759ce852c64e6b7accd13d93233e043d9560
Reviewed-on: https://chromium-review.googlesource.com/336357
Commit-Ready: Igor Covganet <igorcov@chromium.org>
Tested-by: Igor Covganet <igorcov@chromium.org>
Reviewed-by: Thiemo Nagel <tnagel@chromium.org>
2 files changed
tree: df4edbc63403467665ad188c103ddb3c1638d2ba
  1. include/
  2. init/
  3. lib/
  4. tests/
  5. util/
  6. LICENSE
  7. Makefile
  8. OWNERS
  9. README
  10. vpd.c