ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode
[oweals/u-boot.git] / arch / arm / mach-omap2 / am33xx / clock.c
index 3d17698e1865b81503a09bc76edb039ebc6c476d..ad28d205ee4c895456bacb40d3f491ffd3a7c012 100644 (file)
@@ -244,3 +244,13 @@ void prcm_init(void)
        scale_vcores();
        setup_dplls();
 }
+
+void rtc_only_prcm_init(void)
+{
+       const struct dpll_params *params;
+
+       rtc_only_enable_basic_clocks();
+
+       params = get_dpll_ddr_params();
+       do_setup_dpll(&dpll_ddr_regs, params);
+}