summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2006-11-27 14:16:27 -0700
committerPaul Mackerras <paulus@samba.org>2006-12-04 20:41:42 +1100
commit6065170cf75c64267f6edec5fd359ce8444bd13d (patch)
treea55c64e512282f545b35876906e8ffb2a597078c /include/asm-powerpc
parente65fdfd6ca447353ad1b4c0a0d20df55f3f6f233 (diff)
downloadop-kernel-dev-6065170cf75c64267f6edec5fd359ce8444bd13d.zip
op-kernel-dev-6065170cf75c64267f6edec5fd359ce8444bd13d.tar.gz
[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')
-rw-r--r--include/asm-powerpc/mpc52xx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/mpc52xx.h b/include/asm-powerpc/mpc52xx.h
index fff752c..4a28a85 100644
--- a/include/asm-powerpc/mpc52xx.h
+++ b/include/asm-powerpc/mpc52xx.h
@@ -241,6 +241,10 @@ struct mpc52xx_cdm {
#ifndef __ASSEMBLY__
+extern void __iomem * mpc52xx_find_and_map(const char *);
+extern unsigned int mpc52xx_find_ipb_freq(struct device_node *node);
+extern void mpc52xx_setup_cpu(void);
+
extern void mpc52xx_init_irq(void);
extern unsigned int mpc52xx_get_irq(void);
OpenPOWER on IntegriCloud