]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
powerpc: Remove redundant selection of E500 and E500MC
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 19 Sep 2022 17:01:34 +0000 (19:01 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Sep 2022 13:00:13 +0000 (23:00 +1000)
PPC_85xx and PPC_BOOK3E_64 already select E500 so no need
to select it again by PPC_QEMU_E500 and CORENET_GENERIC
as they depend on PPC_85xx || PPC_BOOK3E_64.

PPC_BOOK3E_64 already selects E500MC so no need to
select it again by PPC_QEMU_E500 if PPC64, PPC_BOOK3E_64
is the only way into PPC_QEMU_E500 with PPC64.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/44f03fa1506892fabf626dceb2f47a049908b6af.1663606876.git.christophe.leroy@csgroup.eu
arch/powerpc/platforms/85xx/Kconfig

index 069628670a0c9d124c32dec5c1d3a47b8073cb7c..63fec86e41b41a1eaaa303bc09918d0462be6363 100644 (file)
@@ -241,8 +241,6 @@ endif # PPC32
 config PPC_QEMU_E500
        bool "QEMU generic e500 platform"
        select DEFAULT_UIMAGE
-       select E500
-       select PPC_E500MC if PPC64
        help
          This option enables support for running as a QEMU guest using
          QEMU's generic e500 machine.  This is not required if you're
@@ -258,7 +256,6 @@ config PPC_QEMU_E500
 config CORENET_GENERIC
        bool "Freescale CoreNet Generic"
        select DEFAULT_UIMAGE
-       select E500
        select PPC_E500MC
        select PHYS_64BIT
        select SWIOTLB