fpga: m10bmc-sec: expose max10 flash update count
authorRuss Weight <russell.h.weight@intel.com>
Mon, 6 Jun 2022 16:00:36 +0000 (09:00 -0700)
committerXu Yilun <yilun.xu@intel.com>
Wed, 8 Jun 2022 09:04:38 +0000 (17:04 +0800)
commit154afa5c31cd2de5e6c2c4f35eee390993ee345a
treee474853edb14ff593f3b0e17864b33c1ac7b73e8
parentbdf86d0e6ca307de8c85e9363b31ca8c86c0b0c7
fpga: m10bmc-sec: expose max10 flash update count

Extend the MAX10 BMC Secure Update driver to provide a sysfs file to
expose the flash update count.

Reviewed-by: Tom Rix <trix@redhat.com>
Tested-by: Tianfei Zhang <tianfei.zhang@intel.com>
Signed-off-by: Russ Weight <russell.h.weight@intel.com>
Link: https://lore.kernel.org/r/20220606160038.846236-4-russell.h.weight@intel.com
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Documentation/ABI/testing/sysfs-driver-intel-m10-bmc-sec-update
drivers/fpga/intel-m10-bmc-sec-update.c