Messages in this thread Patch in this message | | | From | Abel Vesa <> | Subject | [PATCH 2/3] clk: imx: Build imx8mq clocks on arm64 only | Date | Thu, 13 Dec 2018 13:17:43 +0000 |
| |
The composite-8m, frac and sccg clocks are not used by any arm32 IMX SoC, therefore build them only on arm64. CONFIG_ARCH_MXC is arm64 only, use that.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com> --- drivers/clk/imx/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/imx/Makefile b/drivers/clk/imx/Makefile index 62a1882..cc95744 100644 --- a/drivers/clk/imx/Makefile +++ b/drivers/clk/imx/Makefile @@ -3,13 +3,11 @@ obj-y += \ clk.o \ clk-busy.o \ - clk-composite-8m.o \ clk-cpu.o \ clk-composite-7ulp.o \ clk-divider-gate.o \ clk-fixup-div.o \ clk-fixup-mux.o \ - clk-frac-pll.o \ clk-gate-exclusive.o \ clk-gate2.o \ clk-pfd.o \ @@ -17,8 +15,7 @@ obj-y += \ clk-pllv1.o \ clk-pllv2.o \ clk-pllv3.o \ - clk-pllv4.o \ - clk-sccg-pll.o + clk-pllv4.o obj-$(CONFIG_SOC_IMX1) += clk-imx1.o obj-$(CONFIG_SOC_IMX21) += clk-imx21.o @@ -36,4 +33,7 @@ obj-$(CONFIG_SOC_IMX7D) += clk-imx7d.o obj-$(CONFIG_SOC_IMX7ULP) += clk-imx7ulp.o obj-$(CONFIG_SOC_VF610) += clk-vf610.o -obj-$(CONFIG_ARCH_MXC) += clk-imx8mq.o +obj-$(CONFIG_ARCH_MXC) += clk-imx8mq.o \ + clk-composite-8m.o \ + clk-frac-pll.o \ + clk-sccg-pll.o -- 2.7.4
| |