[U-Boot] [PATCH] Move DECLARE_GLOBAL_DATA_PTR to file scope

Wolfgang Denk wd at denx.de
Tue Dec 21 09:07:14 CET 2010


Dear John Rigby,

In message <1292894871-1436-1-git-send-email-john.rigby at linaro.org> you wrote:
> It can be optimised out by the compiler otherwise resulting
> in obscure errors like a board not booting.
> 
> This has been documented in README since 2006 when these were
> first fixed up for GCC 4.x.
> 
> Signed-off-by: John Rigby <john.rigby at linaro.org>

Thanks for the cleanup.  Much appreciated.

However, this patch appears to miss a few places.  I think we should
additionally change the following:




More information about the U-Boot mailing list