]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-socfpga/include/mach/boot0.h
d6b9435d333c4d9729ad0392cba6f68e5bff7b74
[u-boot] / arch / arm / mach-socfpga / include / mach / boot0.h
1 /*
2  * Specialty padding for the Altera SoCFPGA preloader image
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef __BOOT0_H
8 #define __BOOT0_H
9
10 _start:
11         ARM_VECTORS
12
13 #ifdef CONFIG_SPL_BUILD
14         .balignl 64,0xf33db33f;
15
16         .word   0x1337c0d3;     /* SoCFPGA preloader validation word */
17         .word   0xc01df00d;     /* Version, flags, length */
18         .word   0xcafec0d3;     /* Checksum, zero-pad */
19         nop;
20
21         b reset;                /* SoCFPGA jumps here */
22         nop;
23         nop;
24         nop;
25 #endif
26
27 #endif /* __BOOT0_H */