]> git.sur5r.net Git - u-boot/blob - arch/arm/include/asm/mach-imx/imximage.cfg
d62166fd06f0ead5e16a87bfc141cf861a4c3e51
[u-boot] / arch / arm / include / asm / mach-imx / imximage.cfg
1 /*
2  * i.MX image header offset values
3  * Copyright (C) 2013 Marek Vasut <marex@denx.de>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 /*
9  * NOTE: This file must be kept in sync with tools/imximage.h because
10  *       tools/imximage.c can not cross-include headers from arch/arm/
11  *       and vice-versa.
12  */
13
14 #ifndef __ASM_IMX_COMMON_IMXIMAGE_CFG__
15 #define __ASM_IMX_COMMON_IMXIMAGE_CFG__
16
17 /* Standard image header offset for NAND, SATA, SD, SPI flash. */
18 #define FLASH_OFFSET_STANDARD   0x400
19 /* Specific image header offset for booting from OneNAND. */
20 #define FLASH_OFFSET_ONENAND    0x100
21 /* Specific image header offset for booting from memory-mapped NOR. */
22 #define FLASH_OFFSET_NOR        0x1000
23
24 #endif  /* __ASM_IMX_COMMON_IMXIMAGE_CFG__ */