Implement support for OF inside the lantiq PCI driver. The patch also splits pcibios_plat_dev_init and pcibios_map_irq out into their own file to accomodate coexistance with the upcoming pcie driver. Signed-off-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3806/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
33 lines
410 B
Text
33 lines
410 B
Text
if LANTIQ
|
|
|
|
config SOC_TYPE_XWAY
|
|
bool
|
|
default n
|
|
|
|
choice
|
|
prompt "SoC Type"
|
|
default SOC_XWAY
|
|
|
|
config SOC_AMAZON_SE
|
|
bool "Amazon SE"
|
|
select SOC_TYPE_XWAY
|
|
|
|
config SOC_XWAY
|
|
bool "XWAY"
|
|
select SOC_TYPE_XWAY
|
|
select HW_HAS_PCI
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Devicetree"
|
|
|
|
config DT_EASY50712
|
|
bool "Easy50712"
|
|
depends on SOC_XWAY
|
|
endchoice
|
|
|
|
config PCI_LANTIQ
|
|
bool "PCI Support"
|
|
depends on SOC_XWAY && PCI
|
|
|
|
endif
|