]> git.sur5r.net Git - u-boot/blobdiff - post/ether.c
[PATCH] Clean up Katmai (440SPe) linker script
[u-boot] / post / ether.c
index 660620e8f6282f7d04f4f6ac649ad61aa8d6a25d..8c87b5927e125c18c7f6c9d453d4ee450be0d2df 100644 (file)
@@ -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[] =