summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/fsl_soc.h
diff options
context:
space:
mode:
authorKumar Gala <galak@gate.crashing.org>2006-01-13 11:19:13 -0600
committerPaul Mackerras <paulus@samba.org>2006-01-14 11:13:22 +1100
commiteed320010872a11f5255b3d076e5b4f142af553d (patch)
tree68653741ed32150a7402f43c6a1adabeb8915f20 /arch/powerpc/sysdev/fsl_soc.h
parentb8e383d592daaa35c944a9083ee92c995dce66ca (diff)
[PATCH] powerpc: Add FSL SOC library and setup code
Parse the flat device tree for devices on Freescale SOC's that we know about (gianfar, gianfar_mdio, i2c, mpc83xx_wdt). We need to setup platform devices and platform data for these devices to match arch/ppc usage. Also add a helper function (get_immrbase) that reports the base address of the MMIO registers on the SOC. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.h')
-rw-r--r--arch/powerpc/sysdev/fsl_soc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.h b/arch/powerpc/sysdev/fsl_soc.h
new file mode 100644
index 000000000000..c433d3f39edd
--- /dev/null
+++ b/arch/powerpc/sysdev/fsl_soc.h
@@ -0,0 +1,8 @@
+#ifndef __PPC_FSL_SOC_H
+#define __PPC_FSL_SOC_H
+#ifdef __KERNEL__
+
+extern phys_addr_t get_immrbase(void);
+
+#endif
+#endif