diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2006-11-27 16:16:27 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 04:41:42 -0500 |
commit | 6065170cf75c64267f6edec5fd359ce8444bd13d (patch) | |
tree | a55c64e512282f545b35876906e8ffb2a597078c /include/asm-powerpc/mpc52xx.h | |
parent | e65fdfd6ca447353ad1b4c0a0d20df55f3f6f233 (diff) |
[POWERPC] Add common routines for 52xx support in arch/powerpc
Adds utility routines used by 52xx device drivers and board support
code. Main functionality is to add device nodes to the of_platform_bus,
retrieve the IPB bus frequency, and find+ioremap device registers.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/mpc52xx.h')
-rw-r--r-- | include/asm-powerpc/mpc52xx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/mpc52xx.h b/include/asm-powerpc/mpc52xx.h index fff752c4bd17..4a28a850998c 100644 --- a/include/asm-powerpc/mpc52xx.h +++ b/include/asm-powerpc/mpc52xx.h | |||
@@ -241,6 +241,10 @@ struct mpc52xx_cdm { | |||
241 | 241 | ||
242 | #ifndef __ASSEMBLY__ | 242 | #ifndef __ASSEMBLY__ |
243 | 243 | ||
244 | extern void __iomem * mpc52xx_find_and_map(const char *); | ||
245 | extern unsigned int mpc52xx_find_ipb_freq(struct device_node *node); | ||
246 | extern void mpc52xx_setup_cpu(void); | ||
247 | |||
244 | extern void mpc52xx_init_irq(void); | 248 | extern void mpc52xx_init_irq(void); |
245 | extern unsigned int mpc52xx_get_irq(void); | 249 | extern unsigned int mpc52xx_get_irq(void); |
246 | 250 | ||