]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: keystone: Cleanup outbound window configuration
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Oct 2018 07:41:08 +0000 (13:11 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 17 Oct 2018 08:48:14 +0000 (09:48 +0100)
commitd0cae53d6e30f18389fa85c032a38c131ee49e3a
tree3ab8c25d0608e7cdad391208b0877ebdae5a3eff
parent2e6095875c1e6bfa3cce7aa066c6c3c74d1f36b5
PCI: keystone: Cleanup outbound window configuration

Outbound translation window is configured in order to access the
PCIe card's MEM space. Cleanup outbound translation configuration
here by using BIT() macros, adding a macro for window size and
using lower_32_bits/upper_32_bits macros for configuring the 64 bit
offset in the outbound translation region.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/dwc/pci-keystone.c