summaryrefslogtreecommitdiff
path: root/board/mpc7448hpc2/tsi108_init.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-09-15 20:48:41 +0200
committerWolfgang Denk <wd@denx.de>2007-09-15 20:48:41 +0200
commit1218abf1b5817a39a82399b4b928b00750575bda (patch)
treeeea14f9a563edd02bbc62b8aa493efd270044485 /board/mpc7448hpc2/tsi108_init.c
parent66b3f24d665be678a9dbb125b1e84185400f63b5 (diff)
downloadu-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/mpc7448hpc2/tsi108_init.c')
-rw-r--r--board/mpc7448hpc2/tsi108_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/mpc7448hpc2/tsi108_init.c b/board/mpc7448hpc2/tsi108_init.c
index 8a7efef..30ae17d 100644
--- a/board/mpc7448hpc2/tsi108_init.c
+++ b/board/mpc7448hpc2/tsi108_init.c
@@ -33,6 +33,8 @@
#include <asm/processor.h>
#include <tsi108.h>
+DECLARE_GLOBAL_DATA_PTR;
+
extern void mpicInit (int verbose);
/*
@@ -141,7 +143,6 @@ unsigned long get_board_bus_clk (void)
int board_early_init_f (void)
{
- DECLARE_GLOBAL_DATA_PTR;
ulong i;
gd->mem_clk = 0;
@@ -583,7 +584,6 @@ unsigned long get_l2cr (void)
int misc_init_r (void)
{
- DECLARE_GLOBAL_DATA_PTR;
#ifdef CFG_CLK_SPREAD /* Initialize Spread-Spectrum Clock generation */
ulong i;