mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 05:56:38 +07: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
|