commit | 5689d204bb93eb700aea434cedf9cbac50272f43 | [log] [tgz] |
---|---|---|
author | Kishon Vijay Abraham I <kishon@ti.com> | Fri Aug 18 19:12:31 2017 +0530 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Fri Aug 18 19:23:36 2017 +0530 |
tree | 63e4be1726bc58a5eb3510652c55de84de0837b9 | |
parent | a37447f5d1b30b4f4433703f214746fc1da57fe4 [diff] |
misc: pci_endpoint_test: Avoid using hard coded BAR sizes BAR sizes are hard coded in pci_endpoint_test driver corresponding to the sizes used in pci-epf-test function driver. This might break if the sizes in pci-epf-test function driver is modified (and the corresponding change is not done in pci_endpoint_test pci driver). To avoid hard coding BAR sizes, use pci_resource_len API. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>