diff options
Diffstat (limited to 'cpu/leon2/serial.c')
-rw-r--r-- | cpu/leon2/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/leon2/serial.c b/cpu/leon2/serial.c index ce9457f5a96..4f41b8e6aa3 100644 --- a/cpu/leon2/serial.c +++ b/cpu/leon2/serial.c @@ -57,7 +57,7 @@ int serial_init(void) regs = (LEON2_Uart_regs *) & leon2->UART_Channel_2; #endif - regs->UART_Scaler = CFG_LEON2_UART1_SCALER; + regs->UART_Scaler = CONFIG_SYS_LEON2_UART1_SCALER; /* Let bit 11 be unchanged (debug bit for GRMON) */ tmp = READ_WORD(regs->UART_Control); |