imximage.cfg 1.0 KB

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