boot0.h 460 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Specialty padding for the Altera SoCFPGA preloader image
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __BOOT0_H
  7. #define __BOOT0_H
  8. _start:
  9. ARM_VECTORS
  10. #ifdef CONFIG_SPL_BUILD
  11. .balignl 64,0xf33db33f;
  12. .word 0x1337c0d3; /* SoCFPGA preloader validation word */
  13. .word 0xc01df00d; /* Version, flags, length */
  14. .word 0xcafec0d3; /* Checksum, zero-pad */
  15. nop;
  16. b reset; /* SoCFPGA jumps here */
  17. nop;
  18. nop;
  19. nop;
  20. #endif
  21. #endif /* __BOOT0_H */