diff options
author | Kumar Gala <galak@gate.crashing.org> | 2006-01-13 11:19:13 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-14 11:13:22 +1100 |
commit | eed320010872a11f5255b3d076e5b4f142af553d (patch) | |
tree | 68653741ed32150a7402f43c6a1adabeb8915f20 /arch/powerpc/sysdev/fsl_soc.h | |
parent | b8e383d592daaa35c944a9083ee92c995dce66ca (diff) | |
download | op-kernel-dev-eed320010872a11f5255b3d076e5b4f142af553d.zip op-kernel-dev-eed320010872a11f5255b3d076e5b4f142af553d.tar.gz |
[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.h | 8 |
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 0000000..c433d3f --- /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 |