arm: socfpga: scan: Introduce generic JTAG accessor
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 01:01:25 +0000 (03:01 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:30 +0000 (14:14 +0200)
commit66acc190e938d4be5fb4895be018c9edcdc828fe
treed49c424fa086c2292580773fe1ebc9694d68cf78
parentaa5659ac65b4eefc1685f9d520279c4ee553789a
arm: socfpga: scan: Introduce generic JTAG accessor

Introduce generic function for accessing the JTAG scan chains in the
SCC manager. Make use of this function throughout the SCC manager to
replace the ad-hoc writes to registers and make the code less cryptic.

Signed-off-by: Marek Vasut <marex@denx.de>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
arch/arm/mach-socfpga/scan_manager.c