fpga: virtex2: Split out image writing from pre/post operations
authorRobert Hancock <hancock@sedsystems.ca>
Tue, 18 Jun 2019 15:47:14 +0000 (09:47 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Jul 2019 08:20:06 +0000 (10:20 +0200)
commit3372081cfd25e2afaaa043d9da78f7de1cf84636
tree44b8178c9747777b6dcf428a05a4fb8dbb526823
parent25d63a367794d4c559d910a19566b7b15296c7a1
fpga: virtex2: Split out image writing from pre/post operations

This is in preparation for adding slave serial programming support,
which uses the same pre/post operations as slave SelectMAP, to avoid
duplicating code.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/fpga/virtex2.c