Skip to content
Snippets Groups Projects
Commit 4c0f3e7f authored by Chee, Tien Fong's avatar Chee, Tien Fong Committed by Marek Vasut
Browse files

ARM: socfpga: boot0 hook: remove macro from boot0 header file


Commit ce62e57f ("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: ce62e57f ("ARM: boot0 hook: remove macro, include whole
header file")

Signed-off-by: default avatarChee, Tien Fong <tien.fong.chee@intel.com>
parent 45fa6f1d
No related branches found
No related tags found
No related merge requests found
...@@ -8,21 +8,17 @@ ...@@ -8,21 +8,17 @@
#define __BOOT0_H #define __BOOT0_H
#ifdef CONFIG_SPL_BUILD #ifdef CONFIG_SPL_BUILD
#define ARM_SOC_BOOT0_HOOK \ .balignl 64,0xf33db33f;
.balignl 64,0xf33db33f; \
\ .word 0x1337c0d3; /* SoCFPGA preloader validation word */
.word 0x1337c0d3; /* SoCFPGA preloader validation word */ \ .word 0xc01df00d; /* Version, flags, length */
.word 0xc01df00d; /* Version, flags, length */ \ .word 0xcafec0d3; /* Checksum, zero-pad */
.word 0xcafec0d3; /* Checksum, zero-pad */ \
nop; \
\
b reset; /* SoCFPGA jumps here */ \
nop; \
nop; \
nop; nop;
#else
#define ARM_SOC_BOOT0_HOOK
#endif
b reset; /* SoCFPGA jumps here */
nop;
nop;
nop;
#endif
#endif /* __BOOT0_H */ #endif /* __BOOT0_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment