boot0.h 438 B

123456789101112131415161718192021222324
  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. #ifdef CONFIG_SPL_BUILD
  9. .balignl 64,0xf33db33f;
  10. .word 0x1337c0d3; /* SoCFPGA preloader validation word */
  11. .word 0xc01df00d; /* Version, flags, length */
  12. .word 0xcafec0d3; /* Checksum, zero-pad */
  13. nop;
  14. b reset; /* SoCFPGA jumps here */
  15. nop;
  16. nop;
  17. nop;
  18. #endif
  19. #endif /* __BOOT0_H */