]> git.sur5r.net Git - u-boot/commitdiff
powerpc, mpc83xx: add missing functions to include/common.h
authorHeiko Schocher <hs@denx.de>
Tue, 15 Mar 2011 11:30:47 +0000 (12:30 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 29 Apr 2011 22:44:12 +0000 (00:44 +0200)
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>

include/common.h

index 21c05db3f47e110e3e2e93f807399016bc1fda76..00e266ed6fe23e84a5cc7bf24eab309ade40d765 100644 (file)
@@ -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 */