imximage.cfg 736 B

1234567891011121314151617181920212223
  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. * NOTE: This file must be kept in sync with tools/imximage.h because
  8. * tools/imximage.c can not cross-include headers from arch/arm/
  9. * and vice-versa.
  10. */
  11. #ifndef __ASM_IMX_COMMON_IMXIMAGE_CFG__
  12. #define __ASM_IMX_COMMON_IMXIMAGE_CFG__
  13. /* Standard image header offset for NAND, SATA, SD, SPI flash. */
  14. #define FLASH_OFFSET_STANDARD 0x400
  15. /* Specific image header offset for booting from OneNAND. */
  16. #define FLASH_OFFSET_ONENAND 0x100
  17. /* Specific image header offset for booting from memory-mapped NOR. */
  18. #define FLASH_OFFSET_NOR 0x1000
  19. #endif /* __ASM_IMX_COMMON_IMXIMAGE_CFG__ */