Finish conversion of bct_dump to generate config files that cbootimage can parse.

This includes code to look up the human readable string names for enum
values.  The next step will be to convert all of our existing BCT files
from binary to config file format.  Then the cros_write_firmware and
cros_sign_bootstub tools will need to be changed to read the config file
instead of a binary BCT.  The tegra-bct ebuilds will also need to change
to install config files instead of binary BCT files.

BUG=chromium-os:11981
TEST=manually dump a working BCT and run cbootimage to reconstruct the BCT.
flash and boot with the new BCT.

Change-Id: I056735d0638b349580c6993b2976ca55bf4d0ea2

Review URL: http://codereview.chromium.org/6683050
1 file changed