spapr_pci: Use correct DMA LIOBN when composing the device tree
commiteded5bac3b2fa51f6165030b0e8ed718247af188
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 4 May 2016 06:52:18 +0000 (4 16:52 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 26 May 2016 23:40:23 +0000 (27 09:40 +1000)
treec3f35d7f45598b5a798feabc7b1ea43b38844e39
parent5dd5238c0b5cc42d347128227f124fe31b05832d
spapr_pci: Use correct DMA LIOBN when composing the device tree

The user could have picked LIOBN via the CLI but the device tree
rendering code would still use the value derived from the PHB index
(which is the default fallback if LIOBN is not set in the CLI).

This replaces SPAPR_PCI_LIOBN() with the actual DMA LIOBN value.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_pci.c