diff options
author | Soby Mathew <soby.mathew@arm.com> | 2016-01-12 10:30:59 +0000 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2016-01-13 09:39:40 +0000 |
commit | b313d755a7fe92ab5e576376a10051db1ba1c92f (patch) | |
tree | 0694e0ca3cd8f435f50e1c7a30d0b444ab3c7b79 /include/drivers | |
parent | 7b3aabc0cfed0615b03887edfda12ce46a3a8335 (diff) |
Rearrange fields in TF data structures to reduce padding
This patch rearranges fields of the `image_desc_t` & `auth_img_desc_t`
data structures to reduce padding between the fields and thereby
save memory.
NOTE: Platform ports which anonymously initialize these structures
should be aware of the rearrangement and do the required
modification.
Change-Id: I428b5429632797b31d5bd306174599c07e24c060
Diffstat (limited to 'include/drivers')
-rw-r--r-- | include/drivers/auth/auth_mod.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drivers/auth/auth_mod.h b/include/drivers/auth/auth_mod.h index c00b2565..4ed4684d 100644 --- a/include/drivers/auth/auth_mod.h +++ b/include/drivers/auth/auth_mod.h @@ -48,8 +48,8 @@ */ typedef struct auth_img_desc_s { unsigned int img_id; - const struct auth_img_desc_s *parent; img_type_t img_type; + const struct auth_img_desc_s *parent; auth_method_desc_t img_auth_methods[AUTH_METHOD_NUM]; auth_param_desc_t authenticated_data[COT_MAX_VERIFIED_PARAMS]; } auth_img_desc_t; |