summaryrefslogtreecommitdiff
path: root/cpu/bf537/serial.c
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2007-09-23 01:29:43 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2007-09-23 01:29:43 +0900
commitb8685affe614ccf5f4ec66252b30e2e524d18948 (patch)
tree05bc55b8a4a0451e6500f1f52651d81c0f48f012 /cpu/bf537/serial.c
parent69df3c4da0c93017cceb25a366e794570bd0ed98 (diff)
parent66dcad3a9a53e0766d90e0084123bd8529522fb0 (diff)
Merge git://www.denx.de/git/u-boot
Conflicts: CREDITS
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 e04d08a0e77..f7a2483ffbe 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();