summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-05-15 23:44:06 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:39:47 +0200
commit7b7808ae6dace59287f565e9323cda7b098a5612 (patch)
treebb0c7b3c879def88d73b02ccd455660254d9c690 /include
parent84f7411cb901b8df2391cf7e967ad0737f6194aa (diff)
downloadu-boot-imx-7b7808ae6dace59287f565e9323cda7b098a5612.zip
u-boot-imx-7b7808ae6dace59287f565e9323cda7b098a5612.tar.gz
u-boot-imx-7b7808ae6dace59287f565e9323cda7b098a5612.tar.bz2
davinci: move psc support board-->cpu
Move DaVinci PSC support from board/* to cpu/* where it belongs. The PSC module manages clocks and resets for all DaVinci-family SoCs, and isn't at all board-specific. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-davinci/hardware.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-arm/arch-davinci/hardware.h b/include/asm-arm/arch-davinci/hardware.h
index ebcdcfe..3f6d483 100644
--- a/include/asm-arm/arch-davinci/hardware.h
+++ b/include/asm-arm/arch-davinci/hardware.h
@@ -133,6 +133,14 @@ typedef volatile unsigned int * dv_reg_p;
#define DAVINCI_LPSC_GEM 39
#define DAVINCI_LPSC_IMCOP 40
+void lpsc_on(unsigned int id);
+void dsp_on(void);
+
+void davinci_enable_uart0(void);
+void davinci_enable_emac(void);
+void davinci_enable_i2c(void);
+void davinci_errata_workarounds(void);
+
/* Some PSC defines */
#define PSC_CHP_SHRTSW (0x01c40038)
#define PSC_GBLCTL (0x01c41010)