blob: 22d9e7f7afbeee27aa0473b926a3b231d0dc209c [file] [log] [blame]
Marek Vasutbeee6a32016-11-16 17:20:23 +01001/*
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#ifdef CONFIG_SPL_BUILD
Chee, Tien Fong4c0f3e72017-03-29 11:49:16 +080011 .balignl 64,0xf33db33f;
Marek Vasutbeee6a32016-11-16 17:20:23 +010012
Chee, Tien Fong4c0f3e72017-03-29 11:49:16 +080013 .word 0x1337c0d3; /* SoCFPGA preloader validation word */
14 .word 0xc01df00d; /* Version, flags, length */
15 .word 0xcafec0d3; /* Checksum, zero-pad */
16 nop;
17
18 b reset; /* SoCFPGA jumps here */
19 nop;
20 nop;
21 nop;
22#endif
Marek Vasutbeee6a32016-11-16 17:20:23 +010023
24#endif /* __BOOT0_H */