Commit Graph

1 Commits

Author SHA1 Message Date
Alan Tull
adca2a90cb FogBugz #398879-2: fpga mgr debugfs
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>
2024-09-06 12:46:12 +00:00