commit c4c5d40abd4355ce6bbd8c9845f20fe39f6998b3 from
https://github.com/altera-opensource/linux-socfpga.git socfpga-6.6.22-lts.
Implement DebugFS for the FPGA Manager Framework.
Each FPGA gets its own directory such as
<debugfs>/fpga_manager/fpga0 and three files:
* [RW] flags = flags as defined in fpga-mgr.h
* [RW] firmware_name = write/read back name of FPGA image
firmware file to program
* [WO] image = write-only file for directly writing
fpga image w/o firmware layer
Enabled by CONFIG_FPGA_MGR_DEBUG_FS
Signed-off-by: Alan Tull <atull@opensource.altera.com>
Signed-off-by: Liwei Song <liwei.song@windriver.com>