powerpc/32: Add dependencies of POWER_RESET for pmac32
authorYuan Tan <tanyuan@tinylab.org>
Thu, 14 Sep 2023 10:10:31 +0000 (18:10 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Sep 2023 02:23:26 +0000 (12:23 +1000)
pmac32's power off depends on ADB_CUDA to work. Enable it when
POWER_RESET is set for convenience.

Suggested-by: Zhangjin Wu <falcon@tinylab.org>
Signed-off-by: Yuan Tan <tanyuan@tinylab.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/0cca5d5afb6c4a1b78648e98339b4b7c9def46d5.1694685860.git.tanyuan@tinylab.org
arch/powerpc/platforms/powermac/Kconfig

index 130707ec9f992b41885200281cfc491ee136ea8b..8bdae0caf21e5f14c4b0d38fe7cd15697ad9c811 100644 (file)
@@ -2,6 +2,7 @@
 config PPC_PMAC
        bool "Apple PowerMac based machines"
        depends on PPC_BOOK3S && CPU_BIG_ENDIAN
+       select ADB_CUDA if POWER_RESET && PPC32
        select MPIC
        select FORCE_PCI
        select PPC_INDIRECT_PCI if PPC32