arm: socfpga: scan: Add code to get FPGA ID
authorDinh Nguyen <dinguyen@opensource.altera.com>
Fri, 31 Jul 2015 16:06:50 +0000 (11:06 -0500)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:30 +0000 (14:14 +0200)
commitbd0f5a91f30c0ff2d355bb7b9858f8b6fb7f5430
tree1a08cf16d71f10360dd2948714f7843c2396d819
parent5e19b68aa1d5f9b70a6bd10de58bd580d6a4ff81
arm: socfpga: scan: Add code to get FPGA ID

Add code to get the FPGA type for Altera's SoCFPGA family of FPGA. The code
uses the scan manager to send jtag pulses that will return the FPGA ID.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
arch/arm/mach-socfpga/include/mach/scan_manager.h
arch/arm/mach-socfpga/scan_manager.c