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 /cpu/mcf532x/cpu.c | |
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 'cpu/mcf532x/cpu.c')
-rw-r--r-- | cpu/mcf532x/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mcf532x/cpu.c b/cpu/mcf532x/cpu.c index 520f5d6..2f62e95 100644 --- a/cpu/mcf532x/cpu.c +++ b/cpu/mcf532x/cpu.c @@ -31,6 +31,8 @@ #include <asm/immap.h> +DECLARE_GLOBAL_DATA_PTR; + int do_reset(cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char *argv[]) { volatile wdog_t *wdp = (wdog_t *) (MMAP_WDOG); @@ -48,8 +50,6 @@ int do_reset(cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char *argv[]) int checkcpu(void) { - DECLARE_GLOBAL_DATA_PTR; - volatile ccm_t *ccm = (ccm_t *) MMAP_CCM; u16 msk; u16 id = 0; |