diff options
author | Stefano Babic <sbabic@denx.de> | 2014-09-10 13:02:40 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-09-11 10:13:44 +0200 |
commit | 3d8f1798bafa41a280305fda0af322ffb719d259 (patch) | |
tree | 6a4f787da8012e6f16d84e6277ed84f67c70dc2b /arch/arm/cpu | |
parent | c860eed17649a43feeea063789e700e06e25818d (diff) | |
download | u-boot-imx-3d8f1798bafa41a280305fda0af322ffb719d259.zip u-boot-imx-3d8f1798bafa41a280305fda0af322ffb719d259.tar.gz u-boot-imx-3d8f1798bafa41a280305fda0af322ffb719d259.tar.bz2 |
imx: Fix build of mx6sxsabresd
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>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c index 52136f7..336e557 100644 --- a/arch/arm/cpu/armv7/mx6/clock.c +++ b/arch/arm/cpu/armv7/mx6/clock.c @@ -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; |