app: Support dump command

The dump command displays the contents of the VPDs that have been
parsed. It requires a --vpd file.

$ openpower-read-vpd --vpd /sys/class/i2c-dev/i2c-11/device/11-0051/eeprom  --dump

OPFR:
	VS : XXXXXXXXXXXX
	VP : YYYYYYY
	VN : IBM
	DR : 0000000000000000
VINI:
	PN : ZZZZZZZ
	DR : BMC PLANAR
	B1 : DE:AD:BE:EF:CA:FE
	SN : 000000000000
	CC : AAAA
	HW : 0002

Change-Id: I081611ecdd4f4a88c5e20edc8e403c7bcb21b632
Signed-off-by: Joel Stanley <joel@jms.id.au>
1 file changed