OSDN Git Service

powerpc/powernv/ioda: Reduce a number of hooks in pnv_phb
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 16 Oct 2018 02:34:09 +0000 (13:34 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Dec 2018 11:59:03 +0000 (22:59 +1100)
commita25de7af340fcd19a59978ded2ff04ed329bca06
tree8dc59c7f53b2d7ce8ed3a89767b90606719924ed
parentf21b0a45e4e48eafca38f11612244c5bd454a6c2
powerpc/powernv/ioda: Reduce a number of hooks in pnv_phb

fixup_phb() is never used, this removes it.

pick_m64_pe() and reserve_m64_pe() are always defined for all powernv
PHBs: they are initialized by pnv_ioda_parse_m64_window() which is
called unconditionally from pnv_pci_init_ioda_phb() which initializes
all known PHB types on powernv so we can open code them.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/pci.h