X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Farm%2Flib%2Fvectors.S;h=5cc132b7b844c5324dbdc0122a0bb0cb98aabcef;hb=2b373cb83cae37d2cb1af7f880c1ba739956d9b3;hp=0cb87cee7f611ddb250b0ced65c5c816db0cc930;hpb=d4940fc521db6220a714a800e72b5d700e5c9974;p=u-boot diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S index 0cb87cee7f..5cc132b7b8 100644 --- a/arch/arm/lib/vectors.S +++ b/arch/arm/lib/vectors.S @@ -33,7 +33,7 @@ ************************************************************************* */ - .section ".vectors", "x" + .section ".vectors", "ax" /* ************************************************************************* @@ -60,6 +60,16 @@ _start: ldr pc, _irq ldr pc, _fiq +#ifdef CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK +/* + * Various SoCs need something special and SoC-specific up front in + * order to boot, allow them to set that in their boot0.h file and then + * use it here. + */ +#include +ARM_SOC_BOOT0_HOOK +#endif + /* ************************************************************************* *