summaryrefslogtreecommitdiff
path: root/post/ether.c
diff options
context:
space:
mode:
authorScott Sweeny <scott.sweeny@timesys.com>2009-04-29 11:19:44 -0400
committerScott Sweeny <scott.sweeny@timesys.com>2009-04-29 11:19:44 -0400
commit1f6422345c3594647eb16e33194be62906dbdc22 (patch)
treea1b5a9cb51216df1b6ccdd434bfef6788627ed28 /post/ether.c
parente6b6d16de73de6a76e2ec4338291e828b860f040 (diff)
Add support for OMAP3430 Labrador
This patch originally from LogicPD OMAP35x Release 1.5.0 Original Patch Name: u-boot-1.1.4-omap3430-labrador.patch
Diffstat (limited to 'post/ether.c')
-rw-r--r--post/ether.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/post/ether.c b/post/ether.c
index 660620e8f6..8c87b5927e 100644
--- a/post/ether.c
+++ b/post/ether.c
@@ -51,6 +51,8 @@
#include <net.h>
#include <serial.h>
+DECLARE_GLOBAL_DATA_PTR;
+
#define MIN_PACKET_LENGTH 64
#define MAX_PACKET_LENGTH 256
#define TEST_NUM 1
@@ -109,7 +111,6 @@ static RTXBD *rtx;
static void scc_init (int scc_index)
{
- DECLARE_GLOBAL_DATA_PTR;
bd_t *bd = gd->bd;
static int proff[] =