Re: [PATCH v2 3/6] fpga: m10bmc-sec: expose max10 flash update counts

From: Tom Rix
Date: Tue Oct 06 2020 - 13:35:14 EST



On 10/2/20 6:24 PM, Russ Weight wrote:
> Extend the MAX10 BMC Security Engine driver to provide a
> handler to expose the flash update count for the FPGA user
> image in sysfs.
>
> Signed-off-by: Russ Weight <russell.h.weight@xxxxxxxxx>
> ---
> v2:
> - Renamed get_qspi_flash_count() to m10bmc_user_flash_count()
> - Minor code cleanup per review comments
> - Added m10bmc_ prefix to functions in m10bmc_iops structure
> ---
> drivers/fpga/intel-m10-bmc-secure.c | 31 +++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)

Looks fine.

Reviewed-by: Tom Rix <trix@xxxxxxxxxx>