Explorar o código

power: ftpmu010: move drivers/power/ftpmu010.h to include/faraday

Also add API declarations.

Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
Po-Yu Chuang %!s(int64=14) %!d(string=hai) anos
pai
achega
d6150db2dc
Modificáronse 2 ficheiros con 5 adicións e 1 borrados
  1. 1 1
      drivers/power/ftpmu010.c
  2. 4 0
      include/faraday/ftpmu010.h

+ 1 - 1
drivers/power/ftpmu010.c

@@ -23,7 +23,7 @@
 
 #include <common.h>
 #include <asm/io.h>
-#include "ftpmu010.h"
+#include <faraday/ftpmu010.h>
 
 static struct ftpmu010 *pmu = (struct ftpmu010 *)CONFIG_FTPMU010_BASE;
 

+ 4 - 0
drivers/power/ftpmu010.h → include/faraday/ftpmu010.h

@@ -143,4 +143,8 @@ struct ftpmu010 {
 #define FTPMU010_PDLLCR0_PLL1STABLE		(1 << 1)
 #define FTPMU010_PDLLCR0_PLL1DIS		(1 << 0)
 
+void ftpmu010_32768osc_enable(void);
+void ftpmu010_dlldis_disable(void);
+void ftpmu010_sdram_clk_disable(unsigned int cr0);
+
 #endif	/* __FTPMU010_H */