mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 17:46:48 +07:00
e90ddd813d
Currently the iop3xx platform support code assumes that RedBoot is the bootloader and has already initialized the ATU. Linux should handle this initialization for three reasons: 1/ The memory map that RedBoot sets up is not optimal (page_to_dma and virt_to_phys return different addresses). The effect of this is that using the dma mapping API for the internal bus dma units generates pci bus addresses that are incorrect for the internal bus. 2/ Not all iop platforms use RedBoot 3/ If the ATU is already initialized it indicates that the iop is an add-in card in another host, it does not own the PCI bus, and should not be re-initialized. Changelog: * rather than change nr_controllers to zero, simply do not call pci_common_init Cc: Lennert Buytenhek <kernel@wantstofly.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
if ARCH_IOP32X
|
|
|
|
menu "IOP32x Implementation Options"
|
|
|
|
comment "IOP32x Platform Types"
|
|
|
|
config MACH_EP80219
|
|
bool
|
|
|
|
config MACH_GLANTANK
|
|
bool "Enable support for the IO-Data GLAN Tank"
|
|
help
|
|
Say Y here if you want to run your kernel on the GLAN Tank
|
|
NAS appliance or machines from IO-Data's HDL-Gxxx, HDL-GWxxx
|
|
and HDL-GZxxx series.
|
|
|
|
config ARCH_IQ80321
|
|
bool "Enable support for IQ80321"
|
|
help
|
|
Say Y here if you want to run your kernel on the Intel IQ80321
|
|
evaluation kit for the IOP321 processor.
|
|
|
|
config ARCH_IQ31244
|
|
bool "Enable support for EP80219/IQ31244"
|
|
select MACH_EP80219
|
|
help
|
|
Say Y here if you want to run your kernel on the Intel EP80219
|
|
evaluation kit for the Intel 80219 processor (a IOP321 variant)
|
|
or the IQ31244 evaluation kit for the IOP321 processor.
|
|
|
|
config MACH_N2100
|
|
bool "Enable support for the Thecus n2100"
|
|
help
|
|
Say Y here if you want to run your kernel on the Thecus n2100
|
|
NAS appliance.
|
|
|
|
config IOP3XX_ATU
|
|
bool "Enable the PCI Controller"
|
|
default y
|
|
help
|
|
Say Y here if you want the IOP to initialize its PCI Controller.
|
|
Say N if the IOP is an add in card, the host system owns the PCI
|
|
bus in this case.
|
|
|
|
endmenu
|
|
|
|
endif
|