diff options
author | Eric Sun <jian.sun@freescale.com> | 2012-07-13 15:27:10 +0800 |
---|---|---|
committer | Eric Sun <jian.sun@freescale.com> | 2012-07-13 15:45:12 +0800 |
commit | db5d1e6606540706e91dec47c78b468c7d94a339 (patch) | |
tree | 1119747233ecb05416adf517bce26c64051b150d /board/freescale/mx6sl_arm2/flash_header.S | |
parent | 86a3cb55b2685aa6cd47adfb1753225e333572e6 (diff) | |
download | u-boot-imx-db5d1e6606540706e91dec47c78b468c7d94a339.zip u-boot-imx-db5d1e6606540706e91dec47c78b468c7d94a339.tar.gz u-boot-imx-db5d1e6606540706e91dec47c78b468c7d94a339.tar.bz2 |
ENGR00217114-1 MX6 U-Boot, Secure Boot, one code base for MX6Q/DL/SL
Move the secure boot related implementation code from mx6q_arm2.c to
mx6/generic.c. In this way the HAB feature can be shared by all MX6
platforms
Signed-off-by: Eric Sun <jian.sun@freescale.com>
Diffstat (limited to 'board/freescale/mx6sl_arm2/flash_header.S')
-rw-r--r-- | board/freescale/mx6sl_arm2/flash_header.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/mx6sl_arm2/flash_header.S b/board/freescale/mx6sl_arm2/flash_header.S index 6519511..9421700 100644 --- a/board/freescale/mx6sl_arm2/flash_header.S +++ b/board/freescale/mx6sl_arm2/flash_header.S @@ -49,11 +49,19 @@ reserv1: .word 0x0 dcd_ptr: .word dcd_hdr boot_data_ptr: .word boot_data self_ptr: .word ivt_header +#ifdef CONFIG_SECURE_BOOT +app_code_csf: .word __hab_data +#else app_code_csf: .word 0x0 +#endif reserv2: .word 0x0 boot_data: .word TEXT_BASE +#ifdef CONFIG_SECURE_BOOT +image_len: .word __hab_data_end - TEXT_BASE +#else image_len: .word _end_of_copy - TEXT_BASE + CONFIG_FLASH_HEADER_OFFSET +#endif plugin: .word 0x0 /* !!!! Need update Len field after adding ddr script !!!!!!!!!!!!!!!!!*/ |