FPGA: Cyclon II: Correctly reset the FPGA before configuration
authorStephan Gatzka <stephan.gatzka@hbm.com>
Mon, 22 Oct 2012 23:11:41 +0000 (23:11 +0000)
committerTom Rini <trini@ti.com>
Mon, 29 Oct 2012 21:21:20 +0000 (14:21 -0700)
commita99c040c337753a7141263b36e91209f504191f1
treecf54ea1e21c456aab5a20453b7ae8e4c911dcbdc
parent045fa1e1142552799ad3203e9e0bc22a11e866ea
FPGA: Cyclon II: Correctly reset the FPGA before configuration

Deassert the CONFIG pin before asserting it again. This assures that the
FPGA will be resetted and therefore configuration will be correctly
enabled.

This is also already done on other FPGA's, e.g. Stratix.

Signed-off-by: Stephan Gatzka <stephan.gatzka@hbm.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/fpga/cyclon2.c