]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/ixp/serial.c
GCC-4.x fixes: clean up global data pointer initialization for all boards.
[karo-tx-uboot.git] / cpu / ixp / serial.c
index aea0cf86966dba31f4ad4bc46a400649bfea255e..2015958571423aa5705e46b8525bcc2309b841c1 100644 (file)
 #include <common.h>
 #include <asm/arch/ixp425.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 void serial_setbrg (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        unsigned int quot = 0;
        int uart = CFG_IXP425_CONSOLE;