summaryrefslogtreecommitdiff
path: root/cpu/leon3/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/leon3/serial.c')
-rw-r--r--cpu/leon3/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/leon3/serial.c b/cpu/leon3/serial.c
index 27d5cd3..4b2fcb8 100644
--- a/cpu/leon3/serial.c
+++ b/cpu/leon3/serial.c
@@ -58,7 +58,7 @@ int serial_init(void)
*
* Receiver & transmitter enable
*/
- leon3_apbuart->scaler = CFG_GRLIB_APBUART_SCALER;
+ leon3_apbuart->scaler = CONFIG_SYS_GRLIB_APBUART_SCALER;
/* Let bit 11 be unchanged (debug bit for GRMON) */
tmp = READ_WORD(leon3_apbuart->ctrl);