From: Philipp Zabel Date: Wed, 26 Jun 2013 13:08:49 +0000 (+0200) Subject: ARM i.MX6Q: Use ENET_CLK_SEL defines in imx6q_1588_init X-Git-Tag: next-20130717~11^2~17 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b860a8f05e540f4b90d804bb231bb999c636cc65;p=karo-tx-linux.git ARM i.MX6Q: Use ENET_CLK_SEL defines in imx6q_1588_init Signed-off-by: Philipp Zabel Signed-off-by: Shawn Guo --- diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index db1db78b28fc..59218418fde3 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -242,7 +243,9 @@ static void __init imx6q_1588_init(void) gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr"); if (!IS_ERR(gpr)) - regmap_update_bits(gpr, 0x4, 1 << 21, 1 << 21); + regmap_update_bits(gpr, IOMUXC_GPR1, + IMX6Q_GPR1_ENET_CLK_SEL_MASK, + IMX6Q_GPR1_ENET_CLK_SEL_ANATOP); else pr_err("failed to find fsl,imx6q-iomux-gpr regmap\n");