summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu/mpc85xx/commproc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:44 +0000
committerTom Rini <trini@ti.com>2013-02-01 15:42:45 -0500
commit1206c18403ff25814673a4dbfa071ae06bbefaef (patch)
treea4a38c741e9b7a2cb98566785093c3984ec15454 /arch/powerpc/cpu/mpc85xx/commproc.c
parent6cb49c13f687fb8c1e2936466edf154f4132abb1 (diff)
downloadtalos-obmc-uboot-1206c18403ff25814673a4dbfa071ae06bbefaef.tar.gz
talos-obmc-uboot-1206c18403ff25814673a4dbfa071ae06bbefaef.zip
ppc: Move brg_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/mpc85xx/commproc.c')
-rw-r--r--arch/powerpc/cpu/mpc85xx/commproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/commproc.c b/arch/powerpc/cpu/mpc85xx/commproc.c
index 292b723dcd..7f10476a3a 100644
--- a/arch/powerpc/cpu/mpc85xx/commproc.c
+++ b/arch/powerpc/cpu/mpc85xx/commproc.c
@@ -110,7 +110,7 @@ m8560_cpm_hostalloc(uint size, uint align)
* Baud rate clocks are zero-based in the driver code (as that maps
* to port numbers). Documentation uses 1-based numbering.
*/
-#define BRG_INT_CLK gd->brg_clk
+#define BRG_INT_CLK gd->arch.brg_clk
#define BRG_UART_CLK ((BRG_INT_CLK + 15) / 16)
/* This function is used by UARTS, or anything else that uses a 16x
OpenPOWER on IntegriCloud