]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/imx-common/imximage.cfg
Merge branch 'master' of git://git.denx.de/u-boot-video
[karo-tx-uboot.git] / arch / arm / include / asm / imx-common / imximage.cfg
1 /*
2  * i.MX image header offset values
3  * Copyright (C) 2013 Marek Vasut <marex@denx.de>
4  *
5  * See file CREDITS for list of people who contributed to this
6  * project.
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 2 of
11  * the License or (at your option) any later version.
12  */
13
14 /*
15  * NOTE: This file must be kept in sync with tools/imximage.h because
16  *       tools/imximage.c can not cross-include headers from arch/arm/
17  *       and vice-versa.
18  */
19
20 #ifndef __ASM_IMX_COMMON_IMXIMAGE_CFG__
21 #define __ASM_IMX_COMMON_IMXIMAGE_CFG__
22
23 /* Standard image header offset for NAND, SATA, SD, SPI flash. */
24 #define FLASH_OFFSET_STANDARD   0x400
25 /* Specific image header offset for booting from OneNAND. */
26 #define FLASH_OFFSET_ONENAND    0x100
27 /* Specific image header offset for booting from memory-mapped NOR. */
28 #define FLASH_OFFSET_NOR        0x1000
29
30 #endif  /* __ASM_IMX_COMMON_IMXIMAGE_CFG__ */