diff options
author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:50 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-04 09:05:42 -0500 |
commit | 45bae2e3cf6b0653a0c68526be51457f50750dd5 (patch) | |
tree | 0fd3a32072369e0a1490737087f27d626c3b6018 /arch/powerpc/cpu/mpc85xx | |
parent | 609e6ec3f623f3c3aa2a056654fbc5886e092897 (diff) | |
download | u-boot-imx-45bae2e3cf6b0653a0c68526be51457f50750dd5.zip u-boot-imx-45bae2e3cf6b0653a0c68526be51457f50750dd5.tar.gz u-boot-imx-45bae2e3cf6b0653a0c68526be51457f50750dd5.tar.bz2 |
ppc: Move CONFIG_QE to arch_global_data
Move the quantative easing fields into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/speed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/speed.c b/arch/powerpc/cpu/mpc85xx/speed.c index 81c80e7..7173c07 100644 --- a/arch/powerpc/cpu/mpc85xx/speed.c +++ b/arch/powerpc/cpu/mpc85xx/speed.c @@ -394,8 +394,8 @@ int get_clocks (void) gd->arch.lbc_clk = sys_info.freqLocalBus; #ifdef CONFIG_QE - gd->qe_clk = sys_info.freqQE; - gd->arch.brg_clk = gd->qe_clk / 2; + gd->arch.qe_clk = sys_info.freqQE; + gd->arch.brg_clk = gd->arch.qe_clk / 2; #endif /* * The base clock for I2C depends on the actual SOC. Unfortunately, |