[U-Boot] [PATCH v5 14/14] SECURE BOOT: Change fsl_secboot_validate func to ret image addr

York Sun york.sun at nxp.com
Tue Mar 29 17:59:19 CEST 2016


On 03/22/2016 10:43 PM, Saksham Jain wrote:
> Currently, fsl_secboot_validate function used to set env variable
> "img_addr" to contain address of image being validated.
> 
> The function has been changed to output image addr via argument
> img_addr_ptr. The command esbc_validate sets the env variable
> "img_addr".
> 
> This change helps when fsl_secboot_validate function is called from
> within UBOOT (because now instead of calling function
> "getenv("img_addr")" we can directly get the image address).
> 
> Signed-off-by: Aneesh Bansal <aneesh.bansal at nxp.com>
> Signed-off-by: Saksham Jain <saksham.jain at nxp.com>
> ---
> Changes for v2:
> 	- No changes
> Changes for v3:
> 	- No changes
> Changes for v4:
> 	- Cleaned up commit message
> Changes for v5:
> 	- Cleaned up commit message
>  board/freescale/common/cmd_esbc_validate.c | 12 +++++++++++-
>  board/freescale/common/fsl_validate.c      | 26 +++++++++++++++-----------
>  include/fsl_validate.h                     |  4 ++--
>  3 files changed, 28 insertions(+), 14 deletions(-)
> 

Minor change to subject and commit message.

Applied to u-boot-fsl-qoriq master. Awaiting upstream.

Thanks.

York



More information about the U-Boot mailing list