[U-Boot] [PATCH v4 07/18] socfpga: boot0 hook: adjust to unified boot0 semantics
Marek Vasut
marex at denx.de
Fri Oct 6 19:45:17 UTC 2017
On 10/06/2017 09:28 PM, Philipp Tomsich wrote:
> With the updated boot0 semantics (i.e. giving the boot0-hook control
> over when and where the vector table is emitted), the boot0-hook for
> the socfpga needs to be adjusted.
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
Does this still produce the same binary with this patch ? The stuff at
offset 0x40 (IIRC) is important.
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
> arch/arm/mach-socfpga/include/mach/boot0.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/mach-socfpga/include/mach/boot0.h b/arch/arm/mach-socfpga/include/mach/boot0.h
> index 22d9e7f..d6b9435 100644
> --- a/arch/arm/mach-socfpga/include/mach/boot0.h
> +++ b/arch/arm/mach-socfpga/include/mach/boot0.h
> @@ -7,6 +7,9 @@
> #ifndef __BOOT0_H
> #define __BOOT0_H
>
> +_start:
> + ARM_VECTORS
> +
> #ifdef CONFIG_SPL_BUILD
> .balignl 64,0xf33db33f;
>
>
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list