summaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-07-25 16:02:17 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-07-25 16:24:11 -0500
commit08203f1fac4d2c3cfab43fd157c76127f48bc5b3 (patch)
tree013a98422c6b718483f19feee7ae6cce976be8de /lib/string_helpers.c
parente6e9f471f5fe868531bc2de5c535c0ff86660ea2 (diff)
downloadblackbird-op-linux-08203f1fac4d2c3cfab43fd157c76127f48bc5b3.tar.gz
blackbird-op-linux-08203f1fac4d2c3cfab43fd157c76127f48bc5b3.zip
PCI: tegra: Stop setting pcibios_min_mem
pcibios_min_mem only exists on 32-bit ARM, so using it in pci-tegra.c prevents the driver from being used on other arches. In __pci_assign_resource(), we clip the available area based on PCIBIOS_MIN_MEM. On 32-bit ARM, this is pcibios_min_mem, with a default value of 0x01000000. For Tegra, we discover the space available for PCI resource allocation from the device tree, and the lowest address that will ever be available is 0x12000000 (on Tegra124). The Tegra windows are always higher than the default pcibios_min_mem, so the __pci_assign_resource() has no effect, so there's no need to adjust pcibios_min_mem here. [bhelgaas: changelog] Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud