]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
Xilinx: ARM: SLCR: updated reset logic and unlock
authorJohn Linn <john.linn@xilinx.com>
Tue, 9 Aug 2011 19:47:35 +0000 (13:47 -0600)
committerJohn Linn <john.linn@xilinx.com>
Tue, 9 Aug 2011 19:50:00 +0000 (13:50 -0600)
commite0caf771c043691ae65bfb352c691de4378048fc
tree03eea73db6c6cea024197887c8d57a684246ef43
parent0b48d744d06b30f1ea5af03585e6e626e1a2269f
Xilinx: ARM: SLCR: updated reset logic and unlock

The driver was not allowing the resets in the FPGA reset
register to be cleared or more than one at a time set.
This is needed to allow bitstreams to be downloaded
by holding the FPGA in reset, then clearing the resets
after the bitstream is loaded.

The driver was also not unlocking the SLCR so that
the register could not be written.
arch/arm/mach-xilinx/xilinx_slcr.c