diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2018-04-24 18:46:31 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-04-26 08:52:51 +0200 |
commit | 69f0695067a1938946a3b3e492e0c9cb6e79132d (patch) | |
tree | 3b98c0be6c6dcc3b839a0b59d751504ef2d8e3f1 | |
parent | af1b492dfafc033e06da49ba05fce98504221d6c (diff) | |
download | u-boot-69f0695067a1938946a3b3e492e0c9cb6e79132d.tar.gz u-boot-69f0695067a1938946a3b3e492e0c9cb6e79132d.tar.bz2 u-boot-69f0695067a1938946a3b3e492e0c9cb6e79132d.zip |
imximage: Specify default IVT offset in IMX image
This patch adds BOOTROM_IVT_HDR_OFFSET at 0xC00. The BootROM expects to
find the IVT header at a particular offset in an i.MX image.
Defining the expected offset of the IVT header in the first-stage BootROM
image format is of use of later stage authentication routines where those
routines continue to follow the first-stage authentication layout.
This patch defines the first stage offset which later patch make use of.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Utkarsh Gupta <utkarsh.gupta@nxp.com>
Cc: Breno Lima <breno.lima@nxp.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
-rw-r--r-- | include/imximage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/imximage.h b/include/imximage.h index 553b852367..800fd6383b 100644 --- a/include/imximage.h +++ b/include/imximage.h @@ -14,6 +14,9 @@ #define APP_CODE_BARKER 0xB1 #define DCD_BARKER 0xB17219E9 +/* Specify the offset of the IVT in the IMX header as expected by BootROM */ +#define BOOTROM_IVT_HDR_OFFSET 0xC00 + /* * NOTE: This file must be kept in sync with arch/arm/include/asm/\ * mach-imx/imximage.cfg because tools/imximage.c can not |