OSDN Git Service

fpga: Add flag to indicate bitstream needs decompression
authorAnatolij Gustschin <agust@denx.de>
Wed, 14 Jun 2017 15:36:34 +0000 (10:36 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 15:26:14 +0000 (17:26 +0200)
commitb37fa56069ce61d97a77dadca8dd65e522db3387
treeb0c50062b46caaf33cb3ae8655b7d9fd62156009
parent5a4bfbd544f2c6153b8fd7210da4e5e9d9899098
fpga: Add flag to indicate bitstream needs decompression

Add a flag that is passed to the write_init() callback, indicating
that the bitstream is compressed.

The low-level driver will deal with the flag, or return an error,
if compressed bitstreams are not supported.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/fpga/fpga-mgr.h