Marek Vasut | 6cb8382 | 2013-04-25 10:16:02 +0000 | [diff] [blame] | 1 | /* |
| 2 | * i.MX image header offset values |
| 3 | * Copyright (C) 2013 Marek Vasut <marex@denx.de> |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Marek Vasut | 6cb8382 | 2013-04-25 10:16:02 +0000 | [diff] [blame] | 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__ */ |