diff options
author | Aneesh Bansal <aneesh.bansal@freescale.com> | 2015-12-08 08:44:12 (GMT) |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-01-25 16:24:16 (GMT) |
commit | bc71f926e35be8af1a9491ea0332871881c7eda5 (patch) | |
tree | ee7e9db764ea87bd60996ac43376ad7ac5a73605 /include | |
parent | 81dfdee0dc6c6ca6bdf0c75e0903afefc950d512 (diff) | |
download | u-boot-bc71f926e35be8af1a9491ea0332871881c7eda5.tar.xz |
SECURE BOOT: change prototype of fsl_secboot_validate function
The prototype and defination of function fsl_secboot_validate
has been changed to support calling this function from another
function within u-boot.
Only two aruments needed:
1) header address - Mandatory
2) SHA256 string - optional
Signed-off-by: Saksham Jain <saksham@freescale.com>
Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
Acked-by: Ruchika Gupta <ruchika.gupta@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/fsl_validate.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/fsl_validate.h b/include/fsl_validate.h index a62dc74..bda802f 100644 --- a/include/fsl_validate.h +++ b/include/fsl_validate.h @@ -193,11 +193,10 @@ struct fsl_secboot_img_priv { */ struct fsl_secboot_sg_table sgtbl[MAX_SG_ENTRIES]; /* SG table */ - u32 ehdrloc; /* ESBC client location */ + ulong ehdrloc; /* ESBC client location */ }; -int fsl_secboot_validate(cmd_tbl_t *cmdtp, int flag, int argc, - char * const argv[]); +int fsl_secboot_validate(ulong haddr, char *arg_hash_str); int fsl_secboot_blob_encap(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); int fsl_secboot_blob_decap(cmd_tbl_t *cmdtp, int flag, int argc, |