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 /drivers/qe/fdt.c | |
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 'drivers/qe/fdt.c')
-rw-r--r-- | drivers/qe/fdt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/qe/fdt.c b/drivers/qe/fdt.c index 1a123b8..5a0f277 100644 --- a/drivers/qe/fdt.c +++ b/drivers/qe/fdt.c @@ -75,16 +75,16 @@ error: void ft_qe_setup(void *blob) { do_fixup_by_prop_u32(blob, "device_type", "qe", 4, - "bus-frequency", gd->qe_clk, 1); + "bus-frequency", gd->arch.qe_clk, 1); do_fixup_by_prop_u32(blob, "device_type", "qe", 4, "brg-frequency", gd->arch.brg_clk, 1); do_fixup_by_compat_u32(blob, "fsl,qe", - "clock-frequency", gd->qe_clk, 1); + "clock-frequency", gd->arch.qe_clk, 1); do_fixup_by_compat_u32(blob, "fsl,qe", - "bus-frequency", gd->qe_clk, 1); + "bus-frequency", gd->arch.qe_clk, 1); do_fixup_by_compat_u32(blob, "fsl,qe", "brg-frequency", gd->arch.brg_clk, 1); do_fixup_by_compat_u32(blob, "fsl,qe-gtm", - "clock-frequency", gd->qe_clk / 2, 1); + "clock-frequency", gd->arch.qe_clk / 2, 1); fdt_fixup_qe_firmware(blob); } |