diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-12 22:35:59 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-12 22:35:59 +0200 |
commit | 8d4ba3da5e5d254c69d44fd74fa322986318b16f (patch) | |
tree | ac3cb2a5182d1cca82dce9cea3dc5c5c857141a1 /cpu/arm920t/at91rm9200 | |
parent | 4d302d69c83f7a09239c6575bc6cd37f1a4c77ae (diff) |
Eliminate calls of ARM libgcc.a helper functions _divsi3 and _modsi3
Patch by Anders Larsen, 26 Apr 2005
Diffstat (limited to 'cpu/arm920t/at91rm9200')
-rw-r--r-- | cpu/arm920t/at91rm9200/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm920t/at91rm9200/serial.c b/cpu/arm920t/at91rm9200/serial.c index b529cfa41b..a281932b77 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) |