[U-Boot] [RFC 05/10] ARM: SPL: do not set gd again

Simon Glass sjg at chromium.org
Tue Jun 3 04:07:24 CEST 2014


On 31 May 2014 14:32, Jeroen Hofstee <jeroen at myspectrum.nl> wrote:
> ---
>  arch/arm/lib/spl.c | 3 ---
>  1 file changed, 3 deletions(-)

Needs commit message/signoff, but this seems to be throughout the
series. Apart from that:

Acked-by: Simon Gass <sjg at chromium.org>


>
> diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c
> index dfcc596..75ab546 100644
> --- a/arch/arm/lib/spl.c
> +++ b/arch/arm/lib/spl.c
> @@ -28,9 +28,6 @@ void __weak board_init_f(ulong dummy)
>         /* Clear the BSS. */
>         memset(__bss_start, 0, __bss_end - __bss_start);
>
> -       /* Set global data pointer. */
> -       gd = &gdata;
> -
>         board_init_r(NULL, 0);
>  }
>
> --
> 1.8.3.2
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list