]> git.sur5r.net Git - u-boot/blobdiff - board/cu824/cu824.c
PATCH: Resolve GPL license problem
[u-boot] / board / cu824 / cu824.c
index 5844a5cf324b137b41ef1b569c4c63a8774be370..3edd27a3ebd101443f439d26857c35acda5cb9e0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Rob Taylor, Flying Pig Systems. robt@flyingpig.com.
  *
- * (C) Copyright 2001, 2002
+ * (C) Copyright 2001-2006
  * Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
 
  * See file CREDITS for list of people who contributed to this
 #include <asm/processor.h>
 #include <pci.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 #define BOARD_REV_REG 0xFE80002B
 
 int checkboard (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        char  revision = *(volatile char *)(BOARD_REV_REG);
        char  buf[32];