]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/leon2/serial.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / cpu / leon2 / serial.c
index ce9457f5a965a0c16aa0b21cce381578c7e1acbb..4f41b8e6aa3302ce25e3fd0f56366fbb0e1fa8b9 100644 (file)
@@ -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);