]> git.sur5r.net Git - u-boot/commit
x86: ifdtool: Use a structure for the file/address list
authorSimon Glass <sjg@chromium.org>
Mon, 15 Dec 2014 00:15:37 +0000 (17:15 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 19 Dec 2014 00:26:04 +0000 (17:26 -0700)
commit65851fcec305bae079b35e17103aa61c8ef54674
treec75307bb7f27153e4a4fa4b26fa56687f5b03695
parentfa8d3b00f9a1d0cdedcac3c26993f0b0230f2771
x86: ifdtool: Use a structure for the file/address list

Rather than two independent arrays, use a single array of a suitable
structure. Also add a 'type' member since we will shortly add additional
types.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
tools/ifdtool.c