arm: mvebu: set 38x and 39x AVS on lower frequency
[oweals/u-boot.git] / arch / arm / mach-mvebu / include / mach / cpu.h
index e6140d67293ec60a3379073b0a3a47b3028ca0cc..2e2d72aac892f4a5e6df81ee087d25d75349d904 100644 (file)
@@ -163,6 +163,13 @@ int serdes_phy_config(void);
  */
 int ddr3_init(void);
 
+/* Auto Voltage Scaling */
+#if defined(CONFIG_ARMADA_38X) || defined(CONFIG_ARMADA_39X)
+void mv_avs_init(void);
+#else
+static inline void mv_avs_init(void) {}
+#endif
+
 /*
  * get_ref_clk
  *