summaryrefslogtreecommitdiff
path: root/cpu/bf537/serial.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-09-24 00:04:22 +0200
committerMichal Simek <monstr@monstr.eu>2007-09-24 00:04:22 +0200
commit6b6f287a33ae8c340f97fb08ed95b6687e2baa4b (patch)
tree57d0aa201f36c6dd5a43efd23a0ee2ded95440ba /cpu/bf537/serial.c
parentd45963854eff39d575124d859419bb4953ce2c87 (diff)
parent66dcad3a9a53e0766d90e0084123bd8529522fb0 (diff)
downloadu-boot-imx-6b6f287a33ae8c340f97fb08ed95b6687e2baa4b.zip
u-boot-imx-6b6f287a33ae8c340f97fb08ed95b6687e2baa4b.tar.gz
u-boot-imx-6b6f287a33ae8c340f97fb08ed95b6687e2baa4b.tar.bz2
Merge ../u-boot
Diffstat (limited to 'cpu/bf537/serial.c')
-rw-r--r--cpu/bf537/serial.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/bf537/serial.c b/cpu/bf537/serial.c
index e04d08a..f7a2483 100644
--- a/cpu/bf537/serial.c
+++ b/cpu/bf537/serial.c
@@ -52,6 +52,8 @@
#include <asm/io.h>
#include "serial.h"
+DECLARE_GLOBAL_DATA_PTR;
+
unsigned long pll_div_fact;
void calc_baud(void)
@@ -74,7 +76,6 @@ void calc_baud(void)
void serial_setbrg(void)
{
int i;
- DECLARE_GLOBAL_DATA_PTR;
calc_baud();