blob: d62166fd06f0ead5e16a87bfc141cf861a4c3e51 [file] [log] [blame]
Marek Vasut6cb83822013-04-25 10:16:02 +00001/*
2 * i.MX image header offset values
3 * Copyright (C) 2013 Marek Vasut <marex@denx.de>
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Marek Vasut6cb83822013-04-25 10:16:02 +00006 */
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__ */