Googler | fc3e29a | 2022-11-22 14:17:45 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * i.MX image header offset values |
| 4 | * Copyright (C) 2013 Marek Vasut <marex@denx.de> |
| 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__ */ |