From: Heiko Schocher Date: Tue, 15 Mar 2011 11:30:47 +0000 (+0100) Subject: powerpc, mpc83xx: add missing functions to include/common.h X-Git-Tag: v2011.06-rc1~118 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7c6db910492520a4b21bdd9071d89b6f87069d13;p=u-boot 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 Acked-by: Kim Phillips cc: Kim Phillips cc: Holger Brunck cc: Wolfgang Denk cc: Detlev Zundel cc: Valentin Longchamp --- diff --git a/include/common.h b/include/common.h index 21c05db3f4..00e266ed6f 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 */