diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-03-18 03:59:24 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-04 09:22:40 -0400 |
commit | d260a7af0fbd2257b3d88b3e72b8b11a0398f796 (patch) | |
tree | 0e2aada9b9625145a70e6ed6adc5d3b38c55a657 /arch/arm/mach-mxs | |
parent | f231a9fe7f802962ac225e56c91597680e282186 (diff) |
ARM: mxs: remove unneeded enet_out clk initialization
With fec driver taking care of enet_out clk, most of board setup
do not need to enable enet_out clk. So remove them.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r-- | arch/arm/mach-mxs/mach-mxs.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index 16870bf853b8..6a4e11824ec9 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c | |||
@@ -360,7 +360,6 @@ static inline void enable_clk_enet_out(void) | |||
360 | 360 | ||
361 | static void __init imx28_evk_init(void) | 361 | static void __init imx28_evk_init(void) |
362 | { | 362 | { |
363 | enable_clk_enet_out(); | ||
364 | update_fec_mac_prop(OUI_FSL); | 363 | update_fec_mac_prop(OUI_FSL); |
365 | 364 | ||
366 | mxsfb_pdata.mode_list = mx28evk_video_modes; | 365 | mxsfb_pdata.mode_list = mx28evk_video_modes; |
@@ -391,11 +390,6 @@ static void __init m28evk_init(void) | |||
391 | mxsfb_pdata.sync = MXSFB_SYNC_DATA_ENABLE_HIGH_ACT; | 390 | mxsfb_pdata.sync = MXSFB_SYNC_DATA_ENABLE_HIGH_ACT; |
392 | } | 391 | } |
393 | 392 | ||
394 | static void __init sc_sps1_init(void) | ||
395 | { | ||
396 | enable_clk_enet_out(); | ||
397 | } | ||
398 | |||
399 | static int apx4devkit_phy_fixup(struct phy_device *phy) | 393 | static int apx4devkit_phy_fixup(struct phy_device *phy) |
400 | { | 394 | { |
401 | phy->dev_flags |= MICREL_PHY_50MHZ_CLK; | 395 | phy->dev_flags |= MICREL_PHY_50MHZ_CLK; |
@@ -494,7 +488,6 @@ static void __init tx28_post_init(void) | |||
494 | 488 | ||
495 | static void __init cfa10049_init(void) | 489 | static void __init cfa10049_init(void) |
496 | { | 490 | { |
497 | enable_clk_enet_out(); | ||
498 | update_fec_mac_prop(OUI_CRYSTALFONTZ); | 491 | update_fec_mac_prop(OUI_CRYSTALFONTZ); |
499 | 492 | ||
500 | mxsfb_pdata.mode_list = cfa10049_video_modes; | 493 | mxsfb_pdata.mode_list = cfa10049_video_modes; |
@@ -506,14 +499,11 @@ static void __init cfa10049_init(void) | |||
506 | 499 | ||
507 | static void __init cfa10037_init(void) | 500 | static void __init cfa10037_init(void) |
508 | { | 501 | { |
509 | enable_clk_enet_out(); | ||
510 | update_fec_mac_prop(OUI_CRYSTALFONTZ); | 502 | update_fec_mac_prop(OUI_CRYSTALFONTZ); |
511 | } | 503 | } |
512 | 504 | ||
513 | static void __init apf28_init(void) | 505 | static void __init apf28_init(void) |
514 | { | 506 | { |
515 | enable_clk_enet_out(); | ||
516 | |||
517 | mxsfb_pdata.mode_list = apf28dev_video_modes; | 507 | mxsfb_pdata.mode_list = apf28dev_video_modes; |
518 | mxsfb_pdata.mode_count = ARRAY_SIZE(apf28dev_video_modes); | 508 | mxsfb_pdata.mode_count = ARRAY_SIZE(apf28dev_video_modes); |
519 | mxsfb_pdata.default_bpp = 16; | 509 | mxsfb_pdata.default_bpp = 16; |
@@ -538,8 +528,6 @@ static void __init mxs_machine_init(void) | |||
538 | cfa10049_init(); | 528 | cfa10049_init(); |
539 | else if (of_machine_is_compatible("armadeus,imx28-apf28")) | 529 | else if (of_machine_is_compatible("armadeus,imx28-apf28")) |
540 | apf28_init(); | 530 | apf28_init(); |
541 | else if (of_machine_is_compatible("schulercontrol,imx28-sps1")) | ||
542 | sc_sps1_init(); | ||
543 | 531 | ||
544 | of_platform_populate(NULL, of_default_bus_match_table, | 532 | of_platform_populate(NULL, of_default_bus_match_table, |
545 | mxs_auxdata_lookup, NULL); | 533 | mxs_auxdata_lookup, NULL); |