blob: 8fbc0620c3e03d77a5075d7ea1fa7cab6255664e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Marek Vasutd45fd732013-04-25 10:16:02 +00002/*
3 * i.MX image header offset values
4 * Copyright (C) 2013 Marek Vasut <marex@denx.de>
Marek Vasutd45fd732013-04-25 10:16:02 +00005 */
6
7/*
8 * NOTE: This file must be kept in sync with tools/imximage.h because
9 * tools/imximage.c can not cross-include headers from arch/arm/
10 * and vice-versa.
11 */
12
13#ifndef __ASM_IMX_COMMON_IMXIMAGE_CFG__
14#define __ASM_IMX_COMMON_IMXIMAGE_CFG__
15
16/* Standard image header offset for NAND, SATA, SD, SPI flash. */
17#define FLASH_OFFSET_STANDARD 0x400
18/* Specific image header offset for booting from OneNAND. */
19#define FLASH_OFFSET_ONENAND 0x100
20/* Specific image header offset for booting from memory-mapped NOR. */
21#define FLASH_OFFSET_NOR 0x1000
22
23#endif /* __ASM_IMX_COMMON_IMXIMAGE_CFG__ */