[U-Boot] [PATCH 17/22] imx8m: rename clock to clock_imx8mq
Lukasz Majewski
lukma at denx.de
Sun Aug 11 22:01:15 UTC 2019
On Fri, 9 Aug 2019 04:15:34 +0000
Peng Fan <peng.fan at nxp.com> wrote:
> i.MX8MQ and i.MX8MM has totally different pll design, so
> rename clock to clock_imx8mq.
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
> arch/arm/mach-imx/imx8m/Makefile | 3 ++-
> arch/arm/mach-imx/imx8m/{clock.c => clock_imx8mq.c} | 0
> 2 files changed, 2 insertions(+), 1 deletion(-)
> rename arch/arm/mach-imx/imx8m/{clock.c => clock_imx8mq.c} (100%)
>
> diff --git a/arch/arm/mach-imx/imx8m/Makefile
> b/arch/arm/mach-imx/imx8m/Makefile index feff4941c1..42a1544c6b 100644
> --- a/arch/arm/mach-imx/imx8m/Makefile
> +++ b/arch/arm/mach-imx/imx8m/Makefile
> @@ -3,4 +3,5 @@
> # Copyright 2017 NXP
>
> obj-y += lowlevel_init.o
> -obj-y += clock.o clock_slice.o soc.o
> +obj-y += clock_slice.o soc.o
> +obj-$(CONFIG_IMX8MQ) += clock_imx8mq.o
Shouldn't there be then two CONFIG_ entries? LIke CONFIG_IMX8MM and
CONFIG_IMX8MQ?
> diff --git a/arch/arm/mach-imx/imx8m/clock.c
> b/arch/arm/mach-imx/imx8m/clock_imx8mq.c similarity index 100%
> rename from arch/arm/mach-imx/imx8m/clock.c
> rename to arch/arm/mach-imx/imx8m/clock_imx8mq.c
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190812/7ace7180/attachment.sig>
More information about the U-Boot
mailing list