X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cpu%2Fleon2%2Fserial.c;h=4f41b8e6aa3302ce25e3fd0f56366fbb0e1fa8b9;hb=6c70049bd14e8e81764570732be7f34a89831f09;hp=ce9457f5a965a0c16aa0b21cce381578c7e1acbb;hpb=034a40f876ffc8d49b927431d99ffd971b199e43;p=oweals%2Fu-boot.git diff --git a/cpu/leon2/serial.c b/cpu/leon2/serial.c index ce9457f5a9..4f41b8e6aa 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);