]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/mach-socfpga/include/mach/boot0.h
socfpga: boot0 hook: adjust to unified boot0 semantics
[people/ms/u-boot.git] / 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 */