提交 32fc7fb3 编写于 作者: A Atul Dahiya 提交者: Kukjin Kim

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: NAtul Dahiya <atul.dahiya@samsung.com>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 19206b17
...@@ -132,6 +132,12 @@ static struct clk init_clocks_disable[] = { ...@@ -132,6 +132,12 @@ static struct clk init_clocks_disable[] = {
.name = "nand", .name = "nand",
.id = -1, .id = -1,
.parent = &clk_h, .parent = &clk_h,
}, {
.name = "rtc",
.id = -1,
.parent = &clk_p,
.enable = s3c64xx_pclk_ctrl,
.ctrlbit = S3C_CLKCON_PCLK_RTC,
}, { }, {
.name = "adc", .name = "adc",
.id = -1, .id = -1,
...@@ -294,12 +300,6 @@ static struct clk init_clocks[] = { ...@@ -294,12 +300,6 @@ static struct clk init_clocks[] = {
.parent = &clk_p, .parent = &clk_p,
.enable = s3c64xx_pclk_ctrl, .enable = s3c64xx_pclk_ctrl,
.ctrlbit = S3C_CLKCON_PCLK_UART3, .ctrlbit = S3C_CLKCON_PCLK_UART3,
}, {
.name = "rtc",
.id = -1,
.parent = &clk_p,
.enable = s3c64xx_pclk_ctrl,
.ctrlbit = S3C_CLKCON_PCLK_RTC,
}, { }, {
.name = "watchdog", .name = "watchdog",
.id = -1, .id = -1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册