[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM0PR04MB4211437CCFC05595014B934780A00@AM0PR04MB4211.eurprd04.prod.outlook.com>
Date: Thu, 13 Dec 2018 13:24:19 +0000
From: Aisheng Dong <aisheng.dong@....com>
To: Abel Vesa <abel.vesa@....com>, Shawn Guo <shawnguo@...nel.org>,
Stephen Boyd <sboyd@...nel.org>
CC: "linux-clk@...r.kernel.org" <linux-clk@...r.kernel.org>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Olof Johansson <olof@...om.net>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
dl-linux-imx <linux-imx@....com>, Rob Herring <robh@...nel.org>,
Will Deacon <will.deacon@....com>,
Lucas Stach <l.stach@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>
Subject: RE: [PATCH 2/3] clk: imx: Build imx8mq clocks on arm64 only
> -----Original Message-----
> From: Abel Vesa
> Sent: Thursday, December 13, 2018 9:18 PM
> Subject: [PATCH 2/3] clk: imx: Build imx8mq clocks on arm64 only
>
> 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.
CONFIG_ARCH_MXC is not ARM64 only.
>
> Signed-off-by: Abel Vesa <abel.vesa@....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
I think you may create a CLK_IMX8MQ as I said in other mail for IMX8QXP.
Regards
Dong Aisheng
> --
> 2.7.4
Powered by blists - more mailing lists