]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
power: ftpmu010: move drivers/power/ftpmu010.h to include/faraday
authorPo-Yu Chuang <ratbert@faraday-tech.com>
Thu, 17 Feb 2011 19:34:07 +0000 (19:34 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 27 Apr 2011 17:38:07 +0000 (19:38 +0200)
Also add API declarations.

Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
drivers/power/ftpmu010.c
include/faraday/ftpmu010.h [moved from drivers/power/ftpmu010.h with 97% similarity]

index 7924ac101ca3e5d81a34fcb6dae1d4c073990aa2..c6a8cda7bdd1810bd66821dcd9f9b2d78a1762c2 100644 (file)
@@ -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;
 
similarity index 97%
rename from drivers/power/ftpmu010.h
rename to include/faraday/ftpmu010.h
index 8ef7a37148ce1e969a53d21fd8671d0956d18055..640f0560cde653909584ee8c56e939d88ecff23f 100644 (file)
@@ -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 */