Merge branch 'mpc85xx'
[oweals/u-boot.git] / cpu / mpc5xx / serial.c
index 48687829e5aaa067e21115f84914c51bd6992c7a..ac5556f05cd5837f86acda0bdf8bf534c34e0dfb 100644 (file)
@@ -34,6 +34,7 @@
 #include <command.h>
 #include <mpc5xx.h>
 
+DECLARE_GLOBAL_DATA_PTR;
 
 /*
  * Local function prototypes
@@ -128,7 +129,6 @@ int serial_tstc()
 
 void serial_setbrg (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
        volatile immap_t *immr = (immap_t *)CFG_IMMR;
        short scxbr;