[v2,0/2] Add support to build pci-j721e as a module.

Message ID 20230108155755.2614147-1-a-verma1@ti.com
Headers
Series Add support to build pci-j721e as a module. |

Message

Achal Verma Jan. 8, 2023, 3:57 p.m. UTC
  Patch series to add support to build pci-j721e as module.
It requires pcie-cadence library to be built as a module too.

Changes from v1 to v2:
*)Resolve build failure of pci-j721e.o module because of its dependency 
  on pcie-cadence-host.o in following configuration as 
  Reported-by: kernel test robot <lkp@intel.com>

  CONFIG_PCIE_CADENCE=y
  CONFIG_PCIE_CADENCE_HOST=m
  CONFIG_PCIE_CADENCE_EP=y
  CONFIG_PCIE_CADENCE_PLAT=y
  CONFIG_PCIE_CADENCE_PLAT_EP=y
  CONFIG_PCI_J721E=y
  CONFIG_PCI_J721E_HOST=m
  CONFIG_PCI_J721E_EP=y

Achal Verma (2):
  PCI: cadence: Add support to build pcie-cadence library as module.
  PCI: j721e: Add support to build pci-j721e as module.

 drivers/pci/controller/cadence/Kconfig           | 16 ++++++++--------
 drivers/pci/controller/cadence/pci-j721e.c       |  6 +++++-
 drivers/pci/controller/cadence/pcie-cadence-ep.c |  4 ++++
 .../pci/controller/cadence/pcie-cadence-host.c   |  5 +++++
 drivers/pci/controller/cadence/pcie-cadence.c    |  9 +++++++++
 drivers/pci/controller/cadence/pcie-cadence.h    |  4 ++--
 6 files changed, 33 insertions(+), 11 deletions(-)