diff options
author | Alan Tull <atull@opensource.altera.com> | 2017-03-23 20:34:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 11:45:28 -0400 |
commit | 42d5ec954719917e2b7a9160fe05d2316eece5bf (patch) | |
tree | 19088b3704312ff5f8f6b4e2790e3963ebb2d4da /include/linux/fpga/fpga-mgr.h | |
parent | 061c97d13f1a69c0edcab4dc6e97788e5bf3230f (diff) |
fpga: add config complete timeout
Adding timeout for maximum allowed time for FPGA to go to
operating mode after a FPGA region has been programmed.
Signed-off-by: Alan Tull <atull@opensource.altera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
-rw-r--r-- | include/linux/fpga/fpga-mgr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h index e2ef94fd37af..b4ac24c4411d 100644 --- a/include/linux/fpga/fpga-mgr.h +++ b/include/linux/fpga/fpga-mgr.h | |||
@@ -77,11 +77,14 @@ enum fpga_mgr_states { | |||
77 | * @flags: boolean flags as defined above | 77 | * @flags: boolean flags as defined above |
78 | * @enable_timeout_us: maximum time to enable traffic through bridge (uSec) | 78 | * @enable_timeout_us: maximum time to enable traffic through bridge (uSec) |
79 | * @disable_timeout_us: maximum time to disable traffic through bridge (uSec) | 79 | * @disable_timeout_us: maximum time to disable traffic through bridge (uSec) |
80 | * @config_complete_timeout_us: maximum time for FPGA to switch to operating | ||
81 | * status in the write_complete op. | ||
80 | */ | 82 | */ |
81 | struct fpga_image_info { | 83 | struct fpga_image_info { |
82 | u32 flags; | 84 | u32 flags; |
83 | u32 enable_timeout_us; | 85 | u32 enable_timeout_us; |
84 | u32 disable_timeout_us; | 86 | u32 disable_timeout_us; |
87 | u32 config_complete_timeout_us; | ||
85 | }; | 88 | }; |
86 | 89 | ||
87 | /** | 90 | /** |