Home
last modified time | relevance | path

Searched hist:"30070427 e3ed30721074465f97ffb68390ee688c" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/include/drivers/auth/
H A Dauth_mod.h30070427e3ed30721074465f97ffb68390ee688c Mon Mar 11 11:37:38 UTC 2019 Joel Hutton <Joel.Hutton@Arm.com> cot-desc: optimise memory further

This changes the auth_img_desc_t struct to have pointers to struct
arrays instead of struct arrays. This saves memory as many of these
were never used, and can be NULL pointers. Note the memory savings are
only when these arrays are not initialised, as it is assumed these
arrays are fixed length. A possible future optimisation could allow for
variable length.

memory diff:
bl1: bl2:
text text
-12 -12
bss bss
-1463 0
data data
-56 -48
rodata rodata
-5688 -2592
total total
-7419 -2652

Change-Id: I8f9bdedf75048b8867f40c56381e3a6dc6402bcc
Signed-off-by: Joel Hutton <Joel.Hutton@Arm.com>
/rk3399_ARM-atf/drivers/auth/
H A Dauth_mod.c30070427e3ed30721074465f97ffb68390ee688c Mon Mar 11 11:37:38 UTC 2019 Joel Hutton <Joel.Hutton@Arm.com> cot-desc: optimise memory further

This changes the auth_img_desc_t struct to have pointers to struct
arrays instead of struct arrays. This saves memory as many of these
were never used, and can be NULL pointers. Note the memory savings are
only when these arrays are not initialised, as it is assumed these
arrays are fixed length. A possible future optimisation could allow for
variable length.

memory diff:
bl1: bl2:
text text
-12 -12
bss bss
-1463 0
data data
-56 -48
rodata rodata
-5688 -2592
total total
-7419 -2652

Change-Id: I8f9bdedf75048b8867f40c56381e3a6dc6402bcc
Signed-off-by: Joel Hutton <Joel.Hutton@Arm.com>