diff options
author | Adam Graham <agraham@amcc.com> | 2008-09-03 19:26:59 (GMT) |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-09-05 10:04:16 (GMT) |
commit | f6b6c45840f9b4671d2d97243a12a1f3ffb64765 (patch) | |
tree | 6a6ff862226277c87cbed68551ac10b9b12a98f9 /include/common.h | |
parent | 075d0b81e896e8735ae26372cd384f87cbd24e41 (diff) | |
download | u-boot-fsl-qoriq-f6b6c45840f9b4671d2d97243a12a1f3ffb64765.tar.xz |
ppc4xx: Update Kilauea to use PPC4xx DDR autocalibration routines
Signed-off-by: Adam Graham <agraham@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index a394988..2516bfd 100644 --- a/include/common.h +++ b/include/common.h @@ -287,6 +287,27 @@ void pciinfo (int, int); #endif #endif +/* + * Prototypes + */ +#if defined(CONFIG_SDRAM_PPC4xx_IBM_DDR2) +void blank_string(int); +inline void ppc4xx_ibm_ddr2_register_dump(void); +#if defined(CONFIG_440) +u32 mfdcr_any(u32); +void mtdcr_any(u32, u32); +#endif +#if defined(CONFIG_SPD_EEPROM) +u32 ddr_wrdtr(u32); +u32 ddr_clktr(u32); +void spd_ddr_init_hang(void); +#endif +#endif /* defined(CONFIG_SDRAM_PPC4xx_IBM_DDR2) */ + +#if defined(CONFIG_PPC4xx_DDR_AUTOCALIBRATION) +u32 DQS_autocalibration(void); +#endif /* CONFIG_PPC4xx_DDR_AUTOCALIBRATION */ + int misc_init_f (void); int misc_init_r (void); |