Integrate the flash key-value store code into cgpt.
Integrates the FTS driver into cgpt. This driver is binary-format compatible
with the linux driver for interoperabiilty. The cgpt changes load & store a
hex-encoded mtd partition table in the FTS; we need some sort of encoding
because FTS only stores NUL-terminated strings.
Currently, the mtd code paths aren't executed in cgpt, only in the tests. It's
also not hooked up to the vboot code yet, we will need to do that eventually.
TEST=new unit test added
Commit-Queue: Albert Chaulk <email@example.com>
Reviewed-by: Albert Chaulk <firstname.lastname@example.org>
Tested-by: Albert Chaulk <email@example.com>
7 files changed