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>
This commit is contained in:
parent
a146bcc208
commit
7c6db91049
@ -449,6 +449,11 @@ void out16(unsigned int, unsigned short value);
|
|||||||
#if defined (CONFIG_MPC83xx)
|
#if defined (CONFIG_MPC83xx)
|
||||||
void ppcDWload(unsigned int *addr, unsigned int *ret);
|
void ppcDWload(unsigned int *addr, unsigned int *ret);
|
||||||
void ppcDWstore(unsigned int *addr, unsigned int *value);
|
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
|
#endif
|
||||||
|
|
||||||
/* $(CPU)/cpu.c */
|
/* $(CPU)/cpu.c */
|
||||||
|
Loading…
Reference in New Issue
Block a user