diff options
author | Dinh Nguyen <dinguyen@opensource.altera.com> | 2015-07-31 16:06:50 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 12:14:30 (GMT) |
commit | bd0f5a91f30c0ff2d355bb7b9858f8b6fb7f5430 (patch) | |
tree | 1a08cf16d71f10360dd2948714f7843c2396d819 /arch/arm/mach-socfpga/include | |
parent | 5e19b68aa1d5f9b70a6bd10de58bd580d6a4ff81 (diff) | |
download | u-boot-bd0f5a91f30c0ff2d355bb7b9858f8b6fb7f5430.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-socfpga/include')
-rw-r--r-- | arch/arm/mach-socfpga/include/mach/scan_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/scan_manager.h b/arch/arm/mach-socfpga/include/mach/scan_manager.h index 3b55e37..5ca6843 100644 --- a/arch/arm/mach-socfpga/include/mach/scan_manager.h +++ b/arch/arm/mach-socfpga/include/mach/scan_manager.h @@ -18,6 +18,7 @@ struct socfpga_scan_manager { }; int scan_mgr_configure_iocsr(void); +u32 scan_mgr_get_fpga_id(void); int iocsr_get_config_table(const unsigned int chain_id, const unsigned long **table, unsigned int *table_len); |