diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2020-02-06 14:34:44 +0100 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2020-02-24 11:01:46 +0100 |
commit | 88005701ece84522f419d8176460f7e9d9ea7240 (patch) | |
tree | 764eb6800138ee837eb328c1c32edb2c34229c58 /plat | |
parent | 1035a70625e322427853c161308b5960c42bb961 (diff) | |
download | platform_external_arm-trusted-firmware-88005701ece84522f419d8176460f7e9d9ea7240.tar.gz platform_external_arm-trusted-firmware-88005701ece84522f419d8176460f7e9d9ea7240.tar.bz2 platform_external_arm-trusted-firmware-88005701ece84522f419d8176460f7e9d9ea7240.zip |
plat/arm: Pass cookie argument down to arm_get_rotpk_info()
The cookie will be leveraged in the next commit.
Change-Id: Ie8bad275d856d84c27466461cf815529dd860446
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'plat')
-rw-r--r-- | plat/arm/board/common/board_arm_trusted_boot.c | 2 | ||||
-rw-r--r-- | plat/arm/board/fvp/fvp_trusted_boot.c | 2 | ||||
-rw-r--r-- | plat/arm/board/rde1edge/rde1edge_trusted_boot.c | 2 | ||||
-rw-r--r-- | plat/arm/board/rdn1edge/rdn1edge_trusted_boot.c | 2 | ||||
-rw-r--r-- | plat/arm/board/sgi575/sgi575_trusted_boot.c | 2 | ||||
-rw-r--r-- | plat/arm/board/sgm775/sgm775_trusted_boot.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/plat/arm/board/common/board_arm_trusted_boot.c b/plat/arm/board/common/board_arm_trusted_boot.c index 3c19230bd..e3651f5f4 100644 --- a/plat/arm/board/common/board_arm_trusted_boot.c +++ b/plat/arm/board/common/board_arm_trusted_boot.c @@ -110,7 +110,7 @@ int arm_get_rotpk_info_cc(void **key_ptr, unsigned int *key_len, /* * Wraper function for most Arm platforms to get ROTPK hash. */ -int arm_get_rotpk_info(void **key_ptr, unsigned int *key_len, +int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, unsigned int *flags) { #if ARM_CRYPTOCELL_INTEG diff --git a/plat/arm/board/fvp/fvp_trusted_boot.c b/plat/arm/board/fvp/fvp_trusted_boot.c index a09b80e10..8825198a1 100644 --- a/plat/arm/board/fvp/fvp_trusted_boot.c +++ b/plat/arm/board/fvp/fvp_trusted_boot.c @@ -30,7 +30,7 @@ int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, unsigned int *flags) { - return arm_get_rotpk_info(key_ptr, key_len, flags); + return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); } /* diff --git a/plat/arm/board/rde1edge/rde1edge_trusted_boot.c b/plat/arm/board/rde1edge/rde1edge_trusted_boot.c index c271f7f2d..4592b8fba 100644 --- a/plat/arm/board/rde1edge/rde1edge_trusted_boot.c +++ b/plat/arm/board/rde1edge/rde1edge_trusted_boot.c @@ -22,5 +22,5 @@ int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, unsigned int *flags) { - return arm_get_rotpk_info(key_ptr, key_len, flags); + return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); } diff --git a/plat/arm/board/rdn1edge/rdn1edge_trusted_boot.c b/plat/arm/board/rdn1edge/rdn1edge_trusted_boot.c index c271f7f2d..4592b8fba 100644 --- a/plat/arm/board/rdn1edge/rdn1edge_trusted_boot.c +++ b/plat/arm/board/rdn1edge/rdn1edge_trusted_boot.c @@ -22,5 +22,5 @@ int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, unsigned int *flags) { - return arm_get_rotpk_info(key_ptr, key_len, flags); + return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); } diff --git a/plat/arm/board/sgi575/sgi575_trusted_boot.c b/plat/arm/board/sgi575/sgi575_trusted_boot.c index c271f7f2d..4592b8fba 100644 --- a/plat/arm/board/sgi575/sgi575_trusted_boot.c +++ b/plat/arm/board/sgi575/sgi575_trusted_boot.c @@ -22,5 +22,5 @@ int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, unsigned int *flags) { - return arm_get_rotpk_info(key_ptr, key_len, flags); + return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); } diff --git a/plat/arm/board/sgm775/sgm775_trusted_boot.c b/plat/arm/board/sgm775/sgm775_trusted_boot.c index c271f7f2d..4592b8fba 100644 --- a/plat/arm/board/sgm775/sgm775_trusted_boot.c +++ b/plat/arm/board/sgm775/sgm775_trusted_boot.c @@ -22,5 +22,5 @@ int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, unsigned int *flags) { - return arm_get_rotpk_info(key_ptr, key_len, flags); + return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); } |