diff options
author | Danny Nold <dannynold@freescale.com> | 2012-02-22 12:59:38 -0600 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:23:15 +0800 |
commit | a527da1c4561fbe4a9a0794cebd4dbd870899d1b (patch) | |
tree | f976b5e4523852c505ac5d7d06581d90258fd137 /arch/arm/mach-mx6/clock.c | |
parent | 4f7140cbfccb6bb51e85d7ba68337ce423b54599 (diff) |
ENGR00174886-1 - EPDC fb: Don't register EPDC unless "epdc" kernel option set
- Add E Ink support as a default for MX6 platforms
- Conditionalize registration of EPDC-related modules based on "epdc"
kernel command line option
Signed-off-by: Danny Nold <dannynold@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/clock.c')
-rw-r--r-- | arch/arm/mach-mx6/clock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c index a75011e5d23a..17251f9ac709 100644 --- a/arch/arm/mach-mx6/clock.c +++ b/arch/arm/mach-mx6/clock.c @@ -107,13 +107,13 @@ static unsigned long anaclk_1_reference, anaclk_2_reference; * parameters, in order to set the EPDC parent clock to the Video PLL. * This will have an impact on the behavior of HDMI and LVDS. */ -static int epdc_use_video_pll; -static int __init epdc_clk_setup(char *__unused) +int epdc_enabled; +static int __init epdc_setup(char *__unused) { - epdc_use_video_pll = 1; + epdc_enabled = 1; return 1; } -__setup("epdc", epdc_clk_setup); +__setup("epdc", epdc_setup); static void __calc_pre_post_dividers(u32 max_podf, u32 div, u32 *pre, u32 *post) { @@ -5379,7 +5379,7 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc, } if (cpu_is_mx6dl()) { - if (epdc_use_video_pll) + if (epdc_enabled) clk_set_parent(&ipu2_di_clk[1], &pll5_video_main_clk); else clk_set_parent(&ipu2_di_clk[1], &pll3_pfd_540M); |