arm: socfpga: Fix FPGA bitstream programming routine
authorMarek Vasut <marex@denx.de>
Mon, 27 Jul 2015 20:34:54 +0000 (22:34 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:04 +0000 (14:14 +0200)
commitbfa89d2ba8f0a278df6de584dcfbd33814753e33
treeea240198443d00cd6814d24a77e2aa7d6ddbf680
parentae27120c31d58b8bb694d9155bcffdcfae8552a6
arm: socfpga: Fix FPGA bitstream programming routine

In case the FPGA bitstream is aligned to 4 bytes, skip the
part of the assembler which handles unaligned bitstream.
Otherwise, that part will loop indefinitelly.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
drivers/fpga/socfpga.c