mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
ARM: socfpga: boot0 hook: remove macro from boot0 header file
Commitce62e57fc5
("ARM: boot0 hook: remove macro, include whole header file") miss out cleaning macro in this header file, and this has broken implementation of a boot header capability in socfpga SPL. Remove the macro in this file, and recovering it back to proper functioning. Fixes:ce62e57fc5
("ARM: boot0 hook: remove macro, include whole header file") Signed-off-by: Chee, Tien Fong <tien.fong.chee@intel.com>
This commit is contained in:
parent
45fa6f1dd5
commit
4c0f3e7f7b
1 changed files with 10 additions and 14 deletions
|
@ -8,21 +8,17 @@
|
|||
#define __BOOT0_H
|
||||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define ARM_SOC_BOOT0_HOOK \
|
||||
.balignl 64,0xf33db33f; \
|
||||
\
|
||||
.word 0x1337c0d3; /* SoCFPGA preloader validation word */ \
|
||||
.word 0xc01df00d; /* Version, flags, length */ \
|
||||
.word 0xcafec0d3; /* Checksum, zero-pad */ \
|
||||
nop; \
|
||||
\
|
||||
b reset; /* SoCFPGA jumps here */ \
|
||||
nop; \
|
||||
nop; \
|
||||
.balignl 64,0xf33db33f;
|
||||
|
||||
.word 0x1337c0d3; /* SoCFPGA preloader validation word */
|
||||
.word 0xc01df00d; /* Version, flags, length */
|
||||
.word 0xcafec0d3; /* Checksum, zero-pad */
|
||||
nop;
|
||||
|
||||
b reset; /* SoCFPGA jumps here */
|
||||
nop;
|
||||
nop;
|
||||
nop;
|
||||
#else
|
||||
#define ARM_SOC_BOOT0_HOOK
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __BOOT0_H */
|
||||
|
|
Loading…
Reference in a new issue