cmd: fpga: Add support to load secure bitstreams
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 31 May 2018 09:40:22 +0000 (15:10 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 1 Jun 2018 09:37:31 +0000 (11:37 +0200)
commitcedd48e2cdb752444444a97157025f16e63ee446
treee06cd6fb2d90c9d58da3ad7eec234be16e44e347
parentf5953610bf9198a585e39c8074ef9dea1106da9c
cmd: fpga: Add support to load secure bitstreams

This patch adds support to load secure bitstreams(authenticated or
encrypted or both). As of now, this feature is added and tested only
for xilinx bitstreams and the secure bitstream was generated using
xilinx bootgen tool, but the command is defined in more generic way.

Command example to load authenticated and device key
encrypted bitstream is as follows
"fpga loads 0 100000 2000000 0 1"

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
cmd/Kconfig
cmd/fpga.c
drivers/fpga/fpga.c
include/fpga.h