]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: Fix build of mx6sxsabresd
authorStefano Babic <sbabic@denx.de>
Wed, 10 Sep 2014 11:02:40 +0000 (13:02 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 11 Sep 2014 08:13:44 +0000 (10:13 +0200)
Commit 224beb833e544b802f08765271cec07667d39669 add clock
enabling function for FEC, but the masks are not available
for SX processor and the mx6sxsabresd cannot be built clean.

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
CC: Nikita Kiryanov <nikita@compulab.co.il>
arch/arm/cpu/armv7/mx6/clock.c

index 52136f7a22d807c7e69c76aa81c2a25e26a4d693..336e557a27d68ddfb2c52875aeb9b7c0a4c0091f 100644 (file)
@@ -78,7 +78,7 @@ void enable_usboh3_clk(unsigned char enable)
 
 }
 
-#ifdef CONFIG_FEC_MXC
+#if defined(CONFIG_FEC_MXC) && !defined(CONFIG_MX6SX)
 void enable_enet_clk(unsigned char enable)
 {
        u32 mask = MXC_CCM_CCGR1_ENET_CLK_ENABLE_MASK;