]> git.droids-corp.org - dpdk.git/commit
raw/ifpga/base: update flash operation interface
authorWei Huang <wei.huang@intel.com>
Fri, 17 Jun 2022 07:19:34 +0000 (03:19 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 20 Jun 2022 15:33:21 +0000 (17:33 +0200)
commitb74ee6c808b3051075edfe974b92717a47580e6e
tree16ce8fd024cda496d040f290ec7967732995f6e3
parent7c4fe2ad3b1214a6704a373dbaec087a4386c4bb
raw/ifpga/base: update flash operation interface

In N6000 ADP platform, SPI protocol, master and QSPI flash are
transparent to host software. The SPI master implemented in PMCI
automatically converts the mailbox commands to the SPI protocol
required by SPI slave.
That means flash operation is different from old platform, new
interfaces are introduced to adapt these changes.

Signed-off-by: Wei Huang <wei.huang@intel.com>
Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
Reviewed-by: Rosen Xu <rosen.xu@intel.com>
drivers/raw/ifpga/base/ifpga_api.c
drivers/raw/ifpga/base/ifpga_feature_dev.h
drivers/raw/ifpga/base/ifpga_fme.c
drivers/raw/ifpga/base/opae_hw_api.c
drivers/raw/ifpga/base/opae_hw_api.h
drivers/raw/ifpga/base/opae_intel_max10.c
drivers/raw/ifpga/base/opae_intel_max10.h
drivers/raw/ifpga/base/osdep_rte/osdep_generic.h