Skip to content

Commit 0f4f0c8

Browse files
mfischergregkh
authored andcommitted
fpga: Add flag to indicate bitstream needs decrypting
Add a flag that is passed to the write_init() callback, indicating that the bitstream is encrypted. The low-level driver will deal with the flag, or return an error, if encrypted bitstreams are not supported. Signed-off-by: Moritz Fischer <mdf@kernel.org> Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Alan Tull <atull@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 47910a4 commit 0f4f0c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/linux/fpga/fpga-mgr.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ enum fpga_mgr_states {
7070
*/
7171
#define FPGA_MGR_PARTIAL_RECONFIG BIT(0)
7272
#define FPGA_MGR_EXTERNAL_CONFIG BIT(1)
73+
#define FPGA_MGR_ENCRYPTED_BITSTREAM BIT(2)
7374

7475
/**
7576
* struct fpga_image_info - information specific to a FPGA image

0 commit comments

Comments
 (0)