Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Marek Vasut | d45fd73 | 2013-04-25 10:16:02 +0000 | [diff] [blame] | 2 | /* |
| 3 | * i.MX image header offset values |
| 4 | * Copyright (C) 2013 Marek Vasut <marex@denx.de> |
Marek Vasut | d45fd73 | 2013-04-25 10:16:02 +0000 | [diff] [blame] | 5 | */ |
| 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__ */ |