-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: qat - move fw config related structures
Relocate the structures adf_fw_objs and adf_fw_config from the file adf_4xxx_hw_data.c to the newly created adf_fw_config.h. These structures will be used by new device drivers. This does not introduce any functional change. Signed-off-by: Jie Wang <jie.wang@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
- Loading branch information
Jie Wang
authored and
Herbert Xu
committed
Dec 22, 2023
1 parent
de51d22
commit 98a4f29
Showing
2 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* SPDX-License-Identifier: GPL-2.0-only */ | ||
/* Copyright(c) 2023 Intel Corporation */ | ||
#ifndef ADF_FW_CONFIG_H_ | ||
#define ADF_FW_CONFIG_H_ | ||
|
||
enum adf_fw_objs { | ||
ADF_FW_SYM_OBJ, | ||
ADF_FW_ASYM_OBJ, | ||
ADF_FW_DC_OBJ, | ||
ADF_FW_ADMIN_OBJ, | ||
}; | ||
|
||
struct adf_fw_config { | ||
u32 ae_mask; | ||
enum adf_fw_objs obj; | ||
}; | ||
|
||
#endif |