[U-Boot] [PATCH v5 06/14] fsl: ls-ch3: Copy Bootscript and header from NOR to DDR
York Sun
york.sun at nxp.com
Tue Mar 29 17:53:32 CEST 2016
On 03/22/2016 10:41 PM, Saksham Jain wrote:
> During Secure Boot, a bootscript is validated using its header. This
> patch copies both these images to DDR from NOR and then validates and
> executed them from DDR. (If NOR is the boot source for LS2080).
>
> This copy step is done to make this step common across booting sources.
> Because in case of non-xip memories (e.g. NAND, SD) it is neccessary to
> copy both these images to DDR.
>
> For other ARM Platforms (ls1043 and ls1020), header is not copied from
> NOR to DDR (otherwise customers will need to modify the existing
> headers).
>
> Signed-off-by: Aneesh Bansal <aneesh.bansal at nxp.com>
> Signed-off-by: Saksham Jain <saksham.jain at nxp.com>
> ---
> Changes for v2:
> - for platform such as ls1043 and ls1021, boot header in NOR.
> Not copied to NOR. For them, fixed CONFIG_BOOTSCRIPT_HDR_ADDR
> to CONFIG_BS_HDR_ADDR_FLASH.
> Changes for v3:
> - No change
> Changes for v4:
> -Cleaned up commit message
> Changes for v5:
> - Cleaned up commit message
>
>
> arch/arm/include/asm/fsl_secure_boot.h | 28 +++++++++++++++++++++++++---
> include/config_fsl_chain_trust.h | 11 +++++++----
> 2 files changed, 32 insertions(+), 7 deletions(-)
>
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