The J721E PCIe is hardware specific to TI SoC parts so add a dependency
on that so it's available for those SoC parts and for compile testing but
not necessarily everyone who enables the Cadence PCIe controller.
Link: https://lore.kernel.org/linux-pci/20240104213910.1426843-1-pbrobinson@gmail.com
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
 
 
 config PCI_J721E_HOST
        bool "TI J721E PCIe controller (host mode)"
+       depends on ARCH_K3 || COMPILE_TEST
        depends on OF
        select PCIE_CADENCE_HOST
        select PCI_J721E
 
 config PCI_J721E_EP
        bool "TI J721E PCIe controller (endpoint mode)"
+       depends on ARCH_K3 || COMPILE_TEST
        depends on OF
        depends on PCI_ENDPOINT
        select PCIE_CADENCE_EP