]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1570e4bb936c0c5ffca31813fc3c34726422e55a
tree8dc59c7f53b2d7ce8ed3a89767b90606719924ed
parentbc867fd0d63c91e714561186267fa10014376a00
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