android_kernel_xiaomi_sm8350/arch/arm/mach-iop32x
Dan Williams e90ddd813d [ARM] 4348/4: iop3xx: Give Linux control over PCI initialization
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>
2007-05-03 14:02:48 +01:00
..
glantank.c [ARM] 4187/1: iop: unify time implementation across iop32x, iop33x, and iop13xx 2007-02-17 15:05:40 +00:00
iq31244.c [ARM] 4348/4: iop3xx: Give Linux control over PCI initialization 2007-05-03 14:02:48 +01:00
iq80321.c [ARM] 4348/4: iop3xx: Give Linux control over PCI initialization 2007-05-03 14:02:48 +01:00
irq.c [ARM] 4186/1: iop: remove cp6_enable/disable routines 2007-02-17 15:04:53 +00:00
Kconfig [ARM] 4348/4: iop3xx: Give Linux control over PCI initialization 2007-05-03 14:02:48 +01:00
Makefile [ARM] 3851/1: iop3xx: add io-data glantank support 2006-09-25 10:34:02 +01:00
Makefile.boot [ARM] 3817/1: iop3xx: split the iop3xx mach into iop32x and iop33x 2006-09-25 10:25:36 +01:00
n2100.c [ARM] Merge remaining IOP code 2007-02-20 10:52:43 +00:00