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 | * |
| 5 | * See file CREDITS for list of people who contributed to this |
| 6 | * project. |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU General Public License as |
| 10 | * published by the Free Software Foundation; either version 2 of |
| 11 | * the License or (at your option) any later version. |
| 12 | */ |
| 13 | |
| 14 | /* |
| 15 | * NOTE: This file must be kept in sync with tools/imximage.h because |
| 16 | * tools/imximage.c can not cross-include headers from arch/arm/ |
| 17 | * and vice-versa. |
| 18 | */ |
| 19 | |
| 20 | #ifndef __ASM_IMX_COMMON_IMXIMAGE_CFG__ |
| 21 | #define __ASM_IMX_COMMON_IMXIMAGE_CFG__ |
| 22 | |
| 23 | /* Standard image header offset for NAND, SATA, SD, SPI flash. */ |
| 24 | #define FLASH_OFFSET_STANDARD 0x400 |
| 25 | /* Specific image header offset for booting from OneNAND. */ |
| 26 | #define FLASH_OFFSET_ONENAND 0x100 |
| 27 | /* Specific image header offset for booting from memory-mapped NOR. */ |
| 28 | #define FLASH_OFFSET_NOR 0x1000 |
| 29 | |
| 30 | #endif /* __ASM_IMX_COMMON_IMXIMAGE_CFG__ */ |