imximage.cfg 736 B

123456789101112131415161718192021222324
  1. /*
  2. * i.MX image header offset values
  3. * Copyright (C) 2013 Marek Vasut <marex@denx.de>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  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. #ifndef __ASM_IMX_COMMON_IMXIMAGE_CFG__
  13. #define __ASM_IMX_COMMON_IMXIMAGE_CFG__
  14. /* Standard image header offset for NAND, SATA, SD, SPI flash. */
  15. #define FLASH_OFFSET_STANDARD 0x400
  16. /* Specific image header offset for booting from OneNAND. */
  17. #define FLASH_OFFSET_ONENAND 0x100
  18. /* Specific image header offset for booting from memory-mapped NOR. */
  19. #define FLASH_OFFSET_NOR 0x1000
  20. #endif /* __ASM_IMX_COMMON_IMXIMAGE_CFG__ */