summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/4xx_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/ppc4xx/4xx_uart.c')
-rw-r--r--cpu/ppc4xx/4xx_uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/4xx_uart.c b/cpu/ppc4xx/4xx_uart.c
index c6b229f..ac2b12b 100644
--- a/cpu/ppc4xx/4xx_uart.c
+++ b/cpu/ppc4xx/4xx_uart.c
@@ -192,9 +192,9 @@ static void serial_init_common(u32 base, u32 udiv, u16 bdiv)
* the UART divisor is available
*/
#ifdef CFG_EXT_SERIAL_CLOCK
- sys_info.freqUART = CFG_EXT_SERIAL_CLOCK;
+ gd->uart_clk = CFG_EXT_SERIAL_CLOCK;
#else
- sys_info.freqUART = sys_info.freqUART / udiv;
+ gd->uart_clk = sys_info.freqUART / udiv;
#endif
out_8((u8 *)base + UART_LCR, 0x80); /* set DLAB bit */