summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Yu Chuang <ratbert@faraday-tech.com>2011-02-17 19:34:07 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-04-27 17:38:07 (GMT)
commitd6150db2dcb509835df6a01eb5c61e4154f9dc66 (patch)
tree011ccc3c19370ccb6328ddbd713523d1b133925b
parentd8834a1323af72f6145bc81adadd75185ef6065f (diff)
downloadu-boot-d6150db2dcb509835df6a01eb5c61e4154f9dc66.tar.xz
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>
-rw-r--r--drivers/power/ftpmu010.c2
-rw-r--r--include/faraday/ftpmu010.h (renamed from drivers/power/ftpmu010.h)4
2 files changed, 5 insertions, 1 deletions
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
index 8ef7a37..640f056 100644
--- a/drivers/power/ftpmu010.h
+++ b/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 */