diff options
author | Michal Simek <monstr@monstr.eu> | 2007-10-14 14:31:47 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2007-10-14 14:31:47 +0200 |
commit | 95df6f4ebaaa3972e312be1acf7650a18b84bf3d (patch) | |
tree | ee69b8872cf8c295a48244280c82d98e191111ab /cpu/bf561/serial.c | |
parent | b49c90df6e7cfcfb8b862b8bbf8448dff5eed9a5 (diff) | |
parent | b90c045f035c3cc9b5d2edaed6048dfb74e40763 (diff) | |
download | u-boot-imx-95df6f4ebaaa3972e312be1acf7650a18b84bf3d.zip u-boot-imx-95df6f4ebaaa3972e312be1acf7650a18b84bf3d.tar.gz u-boot-imx-95df6f4ebaaa3972e312be1acf7650a18b84bf3d.tar.bz2 |
Merge ../master/
Diffstat (limited to 'cpu/bf561/serial.c')
-rw-r--r-- | cpu/bf561/serial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/bf561/serial.c b/cpu/bf561/serial.c index 7f5c695..bc5a4f5 100644 --- a/cpu/bf561/serial.c +++ b/cpu/bf561/serial.c @@ -52,6 +52,8 @@ #include "serial.h" #include <asm/io.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(); |