From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 29 Mar 2016 08:59:19 -0700 Subject: [U-Boot] [PATCH v5 14/14] SECURE BOOT: Change fsl_secboot_validate func to ret image addr In-Reply-To: <1458730485-447-15-git-send-email-saksham.jain@nxp.com> References: <1458730485-447-1-git-send-email-saksham.jain@nxp.com> <1458730485-447-15-git-send-email-saksham.jain@nxp.com> Message-ID: <56FAA657.3000209@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Saksham Jain > --- > 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