Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
97c9a42d
Commit
97c9a42d
authored
5 years ago
by
John Tsichritzis
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Fix type of cot_desc_ptr" into integration
parents
45c28e95
2efb7ddc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/auth/auth_mod.c
+1
-1
drivers/auth/auth_mod.c
include/drivers/auth/auth_mod.h
+2
-3
include/drivers/auth/auth_mod.h
with
3 additions
and
4 deletions
+3
-4
drivers/auth/auth_mod.c
View file @
97c9a42d
...
...
@@ -31,7 +31,7 @@
#pragma weak plat_set_nv_ctr2
/* Pointer to CoT */
extern
const
auth_img_desc_t
**
const
cot_desc_ptr
;
extern
const
auth_img_desc_t
*
const
*
const
cot_desc_ptr
;
extern
unsigned
int
auth_img_flags
[
MAX_NUMBER_IDS
];
static
int
cmp_auth_param_type_desc
(
const
auth_param_type_desc_t
*
a
,
...
...
This diff is collapsed.
Click to expand it.
include/drivers/auth/auth_mod.h
View file @
97c9a42d
...
...
@@ -40,11 +40,10 @@ int auth_mod_verify_img(unsigned int img_id,
/* Macro to register a CoT defined as an array of auth_img_desc_t pointers */
#define REGISTER_COT(_cot) \
const auth_img_desc_t **const cot_desc_ptr = \
(const auth_img_desc_t **const)_cot; \
const auth_img_desc_t *const *const cot_desc_ptr = (_cot); \
unsigned int auth_img_flags[MAX_NUMBER_IDS]
extern
const
auth_img_desc_t
**
const
cot_desc_ptr
;
extern
const
auth_img_desc_t
*
const
*
const
cot_desc_ptr
;
extern
unsigned
int
auth_img_flags
[
MAX_NUMBER_IDS
];
#endif
/* TRUSTED_BOARD_BOOT */
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help