diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-31 16:32:53 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-31 16:32:53 (GMT) |
commit | d87080b721e4f8dca977af7571c5338ae7bb8db7 (patch) | |
tree | 514fc21eec39a2dd57f7aea516844a4400f8f140 /drivers/tsec.c | |
parent | f6dbbe986481cff01334c64cacb971a5f237a9a9 (diff) | |
download | u-boot-d87080b721e4f8dca977af7571c5338ae7bb8db7.tar.xz |
GCC-4.x fixes: clean up global data pointer initialization for all boards.
Diffstat (limited to 'drivers/tsec.c')
-rw-r--r-- | drivers/tsec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tsec.c b/drivers/tsec.c index 4c5e1b5..7ec565c 100644 --- a/drivers/tsec.c +++ b/drivers/tsec.c @@ -23,6 +23,8 @@ #include "tsec.h" #include "miiphy.h" +DECLARE_GLOBAL_DATA_PTR; + #define TX_BUF_CNT 2 static uint rxIdx; /* index of the current RX buffer */ @@ -1082,7 +1084,6 @@ static void relocate_cmds(void) struct phy_cmd **cmdlistptr; struct phy_cmd *cmd; int i,j,k; - DECLARE_GLOBAL_DATA_PTR; for(i=0; phy_info[i]; i++) { /* First thing's first: relocate the pointers to the |