@@ -11,8 +11,13 @@
.balignl 64,0xf33db33f;
.word 0x1337c0d3; /* SoCFPGA preloader validation word */
- .word 0xc01df00d; /* Version, flags, length */
- .word 0xcafec0d3; /* Checksum, zero-pad */
+ .word 0xc01df00d; /* Header length(2B),flags(1B),version(1B) */
+#ifndef CONFIG_TARGET_SOCFPGA_GEN5
+ .word 0xfeedface; /* Program length(4B) */
+ .word 0xf00dcafe; /* Program entry offset(4B),relative to */
+ /* the start of program header */
+#endif
+ .word 0xcafec0d3; /* Simple checksum(2B),spare offset(2B) */
nop;
b reset; /* SoCFPGA jumps here */