ifdtool: redesign some structures
commit4651d4501c87cabaa2e098aca960edd76600acf4
authorBill XIE <persmule@gmail.com>
Tue, 12 Sep 2017 03:54:48 +0000 (12 11:54 +0800)
committerNico Huber <nico.h@gmx.de>
Sun, 17 Sep 2017 21:29:57 +0000 (17 21:29 +0000)
tree016a69b6414c8cc10271fa2f0e74d50dfd2eb2b7
parent1bf6506e974b7b67c7dbb2634cbcf6509fdda353
ifdtool: redesign some structures

Redesign some array-like structures as true arrays,
and rewrite functions to dump them as loops.

This commit is one separated from the original I6d05418c.

Change-Id: I161c9a2ae83d26e658d67d0804e943fff95fe076
Signed-off-by: Bill XIE <persmule@gmail.com>
Reviewed-on: https://review.coreboot.org/21510
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
util/ifdtool/Makefile
util/ifdtool/ifdtool.c
util/ifdtool/ifdtool.h