diff options
author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:59 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-04 09:05:43 -0500 |
commit | 3a1dc8f1251e03c06d45120612a27ae2c448bae7 (patch) | |
tree | 14accc745aaac4d6107ad6b048c9f0f959b49be9 /arch/powerpc/cpu/ppc4xx/4xx_uart.c | |
parent | 6bb9ba72608e766e9ce859b78f19bb7ea8f63a18 (diff) | |
download | u-boot-imx-3a1dc8f1251e03c06d45120612a27ae2c448bae7.zip u-boot-imx-3a1dc8f1251e03c06d45120612a27ae2c448bae7.tar.gz u-boot-imx-3a1dc8f1251e03c06d45120612a27ae2c448bae7.tar.bz2 |
arm: Move uart_clk to arch_global_data
Move this field into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/4xx_uart.c')
-rw-r--r-- | arch/powerpc/cpu/ppc4xx/4xx_uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/4xx_uart.c b/arch/powerpc/cpu/ppc4xx/4xx_uart.c index 38ba60b..2ab185f 100644 --- a/arch/powerpc/cpu/ppc4xx/4xx_uart.c +++ b/arch/powerpc/cpu/ppc4xx/4xx_uart.c @@ -296,10 +296,10 @@ int get_serial_clock(void) * the UART divisor is available */ #ifdef CONFIG_SYS_EXT_SERIAL_CLOCK - gd->uart_clk = CONFIG_SYS_EXT_SERIAL_CLOCK; + gd->arch.uart_clk = CONFIG_SYS_EXT_SERIAL_CLOCK; #else get_sys_info(&sys_info); - gd->uart_clk = sys_info.freqUART / udiv; + gd->arch.uart_clk = sys_info.freqUART / udiv; #endif return clk; |