boot0.h 501 B

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