summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-12 22:35:59 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-12 22:35:59 +0200
commit8d4ba3da5e5d254c69d44fd74fa322986318b16f (patch)
treeac3cb2a5182d1cca82dce9cea3dc5c5c857141a1 /cpu
parent4d302d69c83f7a09239c6575bc6cd37f1a4c77ae (diff)
downloadu-boot-imx-8d4ba3da5e5d254c69d44fd74fa322986318b16f.zip
u-boot-imx-8d4ba3da5e5d254c69d44fd74fa322986318b16f.tar.gz
u-boot-imx-8d4ba3da5e5d254c69d44fd74fa322986318b16f.tar.bz2
Eliminate calls of ARM libgcc.a helper functions _divsi3 and _modsi3
Patch by Anders Larsen, 26 Apr 2005
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm920t/at91rm9200/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm920t/at91rm9200/serial.c b/cpu/arm920t/at91rm9200/serial.c
index b529cfa..a281932 100644
--- a/cpu/arm920t/at91rm9200/serial.c
+++ b/cpu/arm920t/at91rm9200/serial.c
@@ -56,7 +56,7 @@ void serial_setbrg (void)
if ((baudrate = gd->baudrate) <= 0)
baudrate = CONFIG_BAUDRATE;
/* MASTER_CLOCK/(16 * baudrate) */
- us->US_BRGR = (AT91C_MASTER_CLOCK >> 4)/baudrate;
+ us->US_BRGR = (AT91C_MASTER_CLOCK >> 4) / (unsigned)baudrate;
}
int serial_init (void)