Commits
Kishon Vijay Abraham I committed b566bb21d55
misc: pci_endpoint_test: Add support to test PCI EP in K2G TI's K2G EP has the following restrictions: *) BAR_0 of k2g EP is mapped to application registers so pci_endpoint_test cannot use it. (Use BAR_1 instead). (Ref 11.14.4.9.2 Inbound Address Translation in K2G TRM SPRUHY8F January 2016 – Revised May 2017) *) K2G EP requires host buffer addresses to be aligned to 1MB boundary. (Ref: 11.14.4.9.1 Outbound Address Translation in K2G TRM SPRUHY8F January 2016 – Revised May 2017) *) K2G EP requires RC to program the PCI address in PCIE_IB_START_LO/PCIE_IB_START_HI registers. (Ref 11.14.4.9.2 Inbound Address Translation in K2G TRM SPRUHY8F January 2016 – Revised May 2017) Accommodate these restrictions in pci_endpoint_test in order to use it to test K2G EP. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>