diff options
author | Wolfgang Denk <wd@denx.de> | 2007-09-15 20:48:41 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-09-15 20:48:41 +0200 |
commit | 1218abf1b5817a39a82399b4b928b00750575bda (patch) | |
tree | eea14f9a563edd02bbc62b8aa493efd270044485 /board/freescale | |
parent | 66b3f24d665be678a9dbb125b1e84185400f63b5 (diff) | |
download | u-boot-imx-1218abf1b5817a39a82399b4b928b00750575bda.zip u-boot-imx-1218abf1b5817a39a82399b4b928b00750575bda.tar.gz u-boot-imx-1218abf1b5817a39a82399b4b928b00750575bda.tar.bz2 |
Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as global
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mpc8313erdb/sdram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/mpc8313erdb/sdram.c b/board/freescale/mpc8313erdb/sdram.c index e6e8410..16ec4bb 100644 --- a/board/freescale/mpc8313erdb/sdram.c +++ b/board/freescale/mpc8313erdb/sdram.c @@ -33,10 +33,11 @@ #include <asm/processor.h> +DECLARE_GLOBAL_DATA_PTR; + #ifndef CFG_8313ERDB_BROKEN_PMC static void resume_from_sleep(void) { - DECLARE_GLOBAL_DATA_PTR; u32 magic = *(u32 *)0; typedef void (*func_t)(void); |