summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/fsl_soc.h
diff options
context:
space:
mode:
authorKumar Gala <galak@gate.crashing.org>2006-01-13 18:19:13 +0100
committerPaul Mackerras <paulus@samba.org>2006-01-14 01:13:22 +0100
commiteed320010872a11f5255b3d076e5b4f142af553d (patch)
tree68653741ed32150a7402f43c6a1adabeb8915f20 /arch/powerpc/sysdev/fsl_soc.h
parent[PATCH] powerpc: Allow for ppc_md restart, power_off, and halt to be NULL (diff)
downloadlinux-eed320010872a11f5255b3d076e5b4f142af553d.tar.xz
linux-eed320010872a11f5255b3d076e5b4f142af553d.zip
[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