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>
diff --git a/drivers/power/ftpmu010.c b/drivers/power/ftpmu010.c
index 7924ac1..c6a8cda 100644
--- a/drivers/power/ftpmu010.c
+++ b/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;
diff --git a/drivers/power/ftpmu010.h b/include/faraday/ftpmu010.h
similarity index 96%
rename from drivers/power/ftpmu010.h
rename to include/faraday/ftpmu010.h
index 8ef7a37..640f056 100644
--- a/drivers/power/ftpmu010.h
+++ b/include/faraday/ftpmu010.h
@@ -143,4 +143,8 @@
#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 */