]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/mach-socfpga/include/mach/scan_manager.h
arm: socfpga: scan: Clean up scan_chain_engine_is_idle()
[karo-tx-uboot.git] / arch / arm / mach-socfpga / include / mach / scan_manager.h
index 94ad50bd6b34ab898a27f9583c5a41c517377360..ddf879053690488ed66be93cfca5c8efc97e94ca 100644 (file)
@@ -59,15 +59,6 @@ struct socfpga_scan_manager {
 /* Position of second command byte for TDI_TDO packet */
 #define TDI_TDO_HEADER_SECOND_BYTE_SHIFT       8
 
-/*
- * Maximum polling loop to wait for IO scan chain engine
- * becomes idle to prevent infinite loop
- */
-#define SCAN_MAX_DELAY                         100
-
-#define SCANMGR_STAT_ACTIVE_GET(x) (((x) & 0x80000000) >> 31)
-#define SCANMGR_STAT_WFIFOCNT_GET(x) (((x) & 0x70000000) >> 28)
-
 int scan_mgr_configure_iocsr(void);
 int iocsr_get_config_table(const unsigned int chain_id,
                           const unsigned long **table,