Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32fc7fb3 authored by Atul Dahiya's avatar Atul Dahiya Committed by Kukjin Kim
Browse files

ARM: S3C64XX: Move RTC clock from init_clocks to init_clocks_disable



RTC clock does not require to be enabled at boot time.

Signed-off-by: default avatarAtul Dahiya <atul.dahiya@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 19206b17
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -132,6 +132,12 @@ static struct clk init_clocks_disable[] = {
		.name		= "nand",
		.id		= -1,
		.parent		= &clk_h,
	}, {
		.name		= "rtc",
		.id		= -1,
		.parent		= &clk_p,
		.enable		= s3c64xx_pclk_ctrl,
		.ctrlbit	= S3C_CLKCON_PCLK_RTC,
	}, {
		.name		= "adc",
		.id		= -1,
@@ -294,12 +300,6 @@ static struct clk init_clocks[] = {
		.parent		= &clk_p,
		.enable		= s3c64xx_pclk_ctrl,
		.ctrlbit	= S3C_CLKCON_PCLK_UART3,
	}, {
		.name		= "rtc",
		.id		= -1,
		.parent		= &clk_p,
		.enable		= s3c64xx_pclk_ctrl,
		.ctrlbit	= S3C_CLKCON_PCLK_RTC,
	}, {
		.name		= "watchdog",
		.id		= -1,