Expose and augment parser enum and field name tables to bct_dump.

This adds the nvbctlib id value to the field_item struct and makes
the parser tables available outside of parse.c.  This lets bct_dump
use these to pretty print a BCT in a format that the parser can
later read back in.

BUG=chromium-os:11981
TEST=Sign and boot a U-Boot image on Seaboard using:

sudo emerge -av cbootimage
USE="recovery flasher" emerge-tegra2_seaboard -av chromeos-u-boot-next
cros_write_firmware --board tegra2_seaboard --firmware /build/tegra2_seaboard/u-boot/u-boot-recovery.bin --sign

Change-Id: Ibcc8ce5c2c62cbfea8ca2850ddd8122b84c0f78f

Review URL: http://codereview.chromium.org/6677007
4 files changed