commit | 1f442218d657b1a20900f09ae1fc269b69b3de70 | [log] [tgz] |
---|---|---|
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | Thu Feb 13 12:06:32 2020 +0800 |
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | Fri Feb 21 11:31:59 2020 +0000 |
tree | 47d44922ecf49da91eda5e97ced00d64aa834baf | |
parent | bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 [diff] |
PCI: mobiveil: Introduce a new structure mobiveil_root_port The Mobiveil PCIe controller can work in either Root Complex mode or Endpoint mode. Introduce a new structure mobiveil_root_port and abstract the RC related members into it so that the code can be used by both modes. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Andrew Murray <amurray@thegoodpenguin.co.uk>