mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
eed3200108
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>
9 lines
121 B
C
9 lines
121 B
C
#ifndef __PPC_FSL_SOC_H
|
|
#define __PPC_FSL_SOC_H
|
|
#ifdef __KERNEL__
|
|
|
|
extern phys_addr_t get_immrbase(void);
|
|
|
|
#endif
|
|
#endif
|