]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/include/asm/mach-imx/imximage.cfg
imx: reorganize IMX code as other SOCs
[people/ms/u-boot.git] / arch / arm / include / asm / mach-imx / imximage.cfg
CommitLineData
6cb83829
MV
1/*
2 * i.MX image header offset values
3 * Copyright (C) 2013 Marek Vasut <marex@denx.de>
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
6cb83829
MV
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__ */