summaryrefslogtreecommitdiff
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-09-08 14:11:12 +0200
committerStefan Roese <sr@denx.de>2008-09-08 14:11:12 +0200
commit5ff889349d2ace13f10c9335e09365fcec8247cc (patch)
tree060c8e5a885b0e6352c333fb507d795194322c74 /include/asm-ppc
parentc351575c226eaad85f12b0d346e762260b263531 (diff)
downloadu-boot-imx-5ff889349d2ace13f10c9335e09365fcec8247cc.zip
u-boot-imx-5ff889349d2ace13f10c9335e09365fcec8247cc.tar.gz
u-boot-imx-5ff889349d2ace13f10c9335e09365fcec8247cc.tar.bz2
ppc4xx: Move ppc4xx specific prototypes to ppc4xx header
This patch moves some 4xx specific prototypes out of include common.h to a ppc4xx specific header. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r--include/asm-ppc/ppc4xx-sdram.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-ppc/ppc4xx-sdram.h b/include/asm-ppc/ppc4xx-sdram.h
index a1ef029..8efa557 100644
--- a/include/asm-ppc/ppc4xx-sdram.h
+++ b/include/asm-ppc/ppc4xx-sdram.h
@@ -1402,4 +1402,18 @@
#endif /* CONFIG_SDRAM_PPC4xx_DENALI_DDR2 */
+#ifndef __ASSEMBLY__
+/*
+ * Prototypes
+ */
+void inline blank_string(int size);
+inline void ppc4xx_ibm_ddr2_register_dump(void);
+u32 mfdcr_any(u32);
+void mtdcr_any(u32, u32);
+u32 ddr_wrdtr(u32);
+u32 ddr_clktr(u32);
+void spd_ddr_init_hang(void);
+u32 DQS_autocalibration(void);
+#endif /* __ASSEMBLY__ */
+
#endif /* _PPC4xx_SDRAM_H_ */