tools: socfpga: Stop using global struct socfpga_image
authorMarek Vasut <marex@denx.de>
Sun, 15 Apr 2018 11:38:49 +0000 (13:38 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 8 May 2018 19:08:42 +0000 (21:08 +0200)
commit9f0021a50b5a39a01f2ab3095a952a255660eb3f
tree037b65a7a05165fcfdd9c016abf5012cf0a4c0c0
parent662abc4fc5cba70bc261039c4579223de3fca2ed
tools: socfpga: Stop using global struct socfpga_image

The structure is passed around correctly, create local instances
where necessary and zap the global struct socfpga_image instance.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Chin Liang See <chin.liang.see@intel.com>
tools/socfpgaimage.c