qed: Populate nvm image attribute shadow.
This patch adds support for populating the flash image attributes. Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: Ariel Elior <ariel.elior@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
50bc60cb15
commit
43645ce03e
@@ -437,6 +437,11 @@ enum BAR_ID {
|
||||
BAR_ID_1 /* Used for doorbells */
|
||||
};
|
||||
|
||||
struct qed_nvm_image_info {
|
||||
u32 num_images;
|
||||
struct bist_nvm_image_att *image_att;
|
||||
};
|
||||
|
||||
#define DRV_MODULE_VERSION \
|
||||
__stringify(QED_MAJOR_VERSION) "." \
|
||||
__stringify(QED_MINOR_VERSION) "." \
|
||||
@@ -561,6 +566,9 @@ struct qed_hwfn {
|
||||
/* L2-related */
|
||||
struct qed_l2_info *p_l2_info;
|
||||
|
||||
/* Nvm images number and attributes */
|
||||
struct qed_nvm_image_info nvm_info;
|
||||
|
||||
struct qed_ptt *p_arfs_ptt;
|
||||
|
||||
struct qed_simd_fp_handler simd_proto_handler[64];
|
||||
|
Reference in New Issue
Block a user