]> 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)
commit6e867f3d8a66350127fd11337a2f1bd3b4921477
tree3ab8c25d0608e7cdad391208b0877ebdae5a3eff
parentc985d3c42290f0de23b4d27c14bcc358a582d72b
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