]> git.sur5r.net Git - u-boot/commit
Move DECLARE_GLOBAL_DATA_PTR to file scope
authorJohn Rigby <john.rigby@linaro.org>
Tue, 21 Dec 2010 01:27:51 +0000 (18:27 -0700)
committerWolfgang Denk <wd@denx.de>
Tue, 21 Dec 2010 10:33:36 +0000 (11:33 +0100)
commit2956532625cf8414ad3efb37598ba34db08d67ec
tree19d9df98e764da9970e9cd0d70243fbaa9120fd5
parent71aab09b2c1edd1b6e00819abd1e31c04db04f36
Move DECLARE_GLOBAL_DATA_PTR to file scope

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@linaro.org>
Fix some additional places.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-By: Albert ARIBAUD <albert.aribaud@free.fr>
32 files changed:
arch/arm/cpu/armv7/mx5/speed.c
arch/blackfin/cpu/serial.c
arch/m68k/cpu/mcf52x2/cpu.c
arch/m68k/cpu/mcf547x_8x/speed.c
arch/sh/lib/board.c
board/espt/espt.c
board/isee/igep0020/igep0020.c
board/isee/igep0030/igep0030.c
board/linkstation/linkstation.c
board/logicpd/zoom1/zoom1.c
board/logicpd/zoom2/zoom2.c
board/mpr2/mpr2.c
board/ms7720se/ms7720se.c
board/ms7722se/ms7722se.c
board/ms7750se/ms7750se.c
board/overo/overo.c
board/pandora/pandora.c
board/renesas/MigoR/migo_r.c
board/renesas/ap325rxa/ap325rxa.c
board/renesas/r2dplus/r2dplus.c
board/renesas/r7780mp/r7780mp.c
board/renesas/rsk7203/rsk7203.c
board/renesas/sh7763rdp/sh7763rdp.c
board/renesas/sh7785lcr/sh7785lcr.c
board/samsung/smdk6400/smdk6400.c
board/ti/beagle/beagle.c
board/ti/evm/evm.c
board/ti/sdp3430/sdp.c
drivers/i2c/omap24xx_i2c.c
drivers/serial/s3c64xx.c
drivers/serial/serial_s5p.c
drivers/serial/serial_sh.c