]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
misc: xilinx-sdfec: Update config from hardware
authorDerek Kiernan <derek.kiernan@xilinx.com>
Mon, 1 Oct 2018 14:48:23 +0000 (15:48 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 2 Oct 2018 11:51:04 +0000 (13:51 +0200)
commitd1d2865a33737311ad0b22d5414c3050a10e78a8
tree60ce6672438f726ced47235aac42cf487acc93f3
parent7d30baf2eac96f4cfc59850c821a4879f0356f7f
misc: xilinx-sdfec: Update config from hardware

Updates the config from sdfec hardware registers for order, bypass,
interrupt configuration and if the device has been started. These
values can be set in the hardware design when the PL initializes the
device and after a sdfec has been reset.
The updated configuration includes a Code Write Protect value which
replaces wr_protect usage.

Signed-off-by: Derek Kiernan <derek.kiernan@xilinx.com>
Signed-off-by: Mauro DeLuca <mauro.de-luca@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/misc/xilinx_sdfec.c
include/uapi/misc/xilinx_sdfec.h