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 <h...@denx.de> cc: Kim Phillips <kim.phill...@freescale.com> cc: Holger Brunck <holger.bru...@keymile.com> cc: Wolfgang Denk <w...@denx.de> cc: Detlev Zundel <d...@denx.de> cc: Valentin Longchamp <valentin.longch...@keymile.com> --- Changes for v3: - new patch in v3, to avoid externs in keymile code Changes for v4: - add the functions in include/common.h not in include/mpc83xx.h as Kim Phillips suggested include/common.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/common.h b/include/common.h index d8c912d..2d6980a 100644 --- a/include/common.h +++ b/include/common.h @@ -447,6 +447,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 */ -- 1.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot