]> git.sur5r.net Git - u-boot/blobdiff - drivers/serial/s3c64xx.c
mtd, nand: move some printfs to debug output.
[u-boot] / drivers / serial / s3c64xx.c
index 9d8fcb9b4983b92bfe93e7743f33865185f9698e..a88e930945d4928945f6041bdfe61a14c70c0f70 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2002
- * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
+ * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
  *
  * (C) Copyright 2008
  * Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de>
@@ -23,7 +23,9 @@
 
 #include <common.h>
 
-#include <s3c6400.h>
+#include <asm/arch/s3c6400.h>
+
+DECLARE_GLOBAL_DATA_PTR;
 
 #ifdef CONFIG_SERIAL1
 #define UART_NR        S3C64XX_UART0
@@ -68,7 +70,6 @@ static const int udivslot[] = {
 
 void serial_setbrg(void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
        s3c64xx_uart *const uart = s3c64xx_get_base_uart(UART_NR);
        u32 pclk = get_PCLK();
        u32 baudrate = gd->baudrate;