From eed320010872a11f5255b3d076e5b4f142af553d Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 13 Jan 2006 11:19:13 -0600 Subject: [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 Signed-off-by: Paul Mackerras --- arch/powerpc/sysdev/fsl_soc.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 arch/powerpc/sysdev/fsl_soc.h (limited to 'arch/powerpc/sysdev/fsl_soc.h') diff --git a/arch/powerpc/sysdev/fsl_soc.h b/arch/powerpc/sysdev/fsl_soc.h new file mode 100644 index 00000000000..c433d3f39ed --- /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 -- cgit v1.2.3-18-g5258