imx: Fix build of mx6sxsabresd
Commit 224beb833e 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>
This commit is contained in:
parent
c860eed176
commit
3d8f1798ba
|
|
@ -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)
|
void enable_enet_clk(unsigned char enable)
|
||||||
{
|
{
|
||||||
u32 mask = MXC_CCM_CCGR1_ENET_CLK_ENABLE_MASK;
|
u32 mask = MXC_CCM_CCGR1_ENET_CLK_ENABLE_MASK;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue