2 * i.MX image header offset values
3 * Copyright (C) 2013 Marek Vasut <marex@denx.de>
5 * See file CREDITS for list of people who contributed to this
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.
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/
20 #ifndef __ASM_IMX_COMMON_IMXIMAGE_CFG__
21 #define __ASM_IMX_COMMON_IMXIMAGE_CFG__
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
30 #endif /* __ASM_IMX_COMMON_IMXIMAGE_CFG__ */