aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/mpc52xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/mpc52xx.h')
-rw-r--r--include/asm-powerpc/mpc52xx.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/include/asm-powerpc/mpc52xx.h b/include/asm-powerpc/mpc52xx.h
index fcb2ebbfddbc..81ef10b6b672 100644
--- a/include/asm-powerpc/mpc52xx.h
+++ b/include/asm-powerpc/mpc52xx.h
@@ -248,19 +248,25 @@ struct mpc52xx_cdm {
248 248
249#ifndef __ASSEMBLY__ 249#ifndef __ASSEMBLY__
250 250
251extern void __iomem * mpc52xx_find_and_map(const char *); 251/* mpc52xx_common.c */
252extern void __iomem * mpc52xx_find_and_map_path(const char *path);
253extern unsigned int mpc52xx_find_ipb_freq(struct device_node *node); 252extern unsigned int mpc52xx_find_ipb_freq(struct device_node *node);
254extern void mpc5200_setup_xlb_arbiter(void); 253extern void mpc5200_setup_xlb_arbiter(void);
255extern void mpc52xx_declare_of_platform_devices(void); 254extern void mpc52xx_declare_of_platform_devices(void);
255extern void mpc52xx_map_common_devices(void);
256extern int mpc52xx_set_psc_clkdiv(int psc_id, int clkdiv);
257extern void mpc52xx_restart(char *cmd);
256 258
259/* mpc52xx_pic.c */
257extern void mpc52xx_init_irq(void); 260extern void mpc52xx_init_irq(void);
258extern unsigned int mpc52xx_get_irq(void); 261extern unsigned int mpc52xx_get_irq(void);
259 262
263/* mpc52xx_pci.c */
264#ifdef CONFIG_PCI
260extern int __init mpc52xx_add_bridge(struct device_node *node); 265extern int __init mpc52xx_add_bridge(struct device_node *node);
261 266extern void __init mpc52xx_setup_pci(void);
262extern void __init mpc52xx_map_wdt(void); 267#else
263extern void mpc52xx_restart(char *cmd); 268static inline void mpc52xx_setup_pci(void) { }
269#endif
264 270
265#endif /* __ASSEMBLY__ */ 271#endif /* __ASSEMBLY__ */
266 272