summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-03-15 12:30:47 +0100
committerWolfgang Denk <wd@denx.de>2011-04-30 00:44:12 +0200
commit7c6db910492520a4b21bdd9071d89b6f87069d13 (patch)
tree2edd98f4ee10f2e63429d167db6c99231abf7930 /include
parenta146bcc208127718443a6ca3ad4edc30d289ad9f (diff)
downloadu-boot-imx-7c6db910492520a4b21bdd9071d89b6f87069d13.zip
u-boot-imx-7c6db910492520a4b21bdd9071d89b6f87069d13.tar.gz
u-boot-imx-7c6db910492520a4b21bdd9071d89b6f87069d13.tar.bz2
powerpc, mpc83xx: add missing functions to include/common.h
add following functions to common.h, to prevent extern declarations: void disable_addr_trans(void); void enable_addr_trans(void); void ddr_enable_ecc(unsigned int dram_size); Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Kim Phillips <kim.phillips@freescale.com> cc: Kim Phillips <kim.phillips@freescale.com> cc: Holger Brunck <holger.brunck@keymile.com> cc: Wolfgang Denk <wd@denx.de> cc: Detlev Zundel <dzu@denx.de> cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Diffstat (limited to 'include')
-rw-r--r--include/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 21c05db..00e266e 100644
--- a/include/common.h
+++ b/include/common.h
@@ -449,6 +449,11 @@ void out16(unsigned int, unsigned short value);
#if defined (CONFIG_MPC83xx)
void ppcDWload(unsigned int *addr, unsigned int *ret);
void ppcDWstore(unsigned int *addr, unsigned int *value);
+void disable_addr_trans(void);
+void enable_addr_trans(void);
+#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
+void ddr_enable_ecc(unsigned int dram_size);
+#endif
#endif
/* $(CPU)/cpu.c */