summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuan Tan <tanyuan@tinylab.org>2023-09-14 13:10:31 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-09-18 05:23:26 +0300
commita3ef2fef198c25c1d9ac6ff89fd50230e9507207 (patch)
tree89da466354872fa3031bcac5602110b1e78114b1
parent06b627c1236216ac1239c5e1afcc75359af3fb72 (diff)
downloadlinux-a3ef2fef198c25c1d9ac6ff89fd50230e9507207.tar.xz
powerpc/32: Add dependencies of POWER_RESET for pmac32
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
-rw-r--r--arch/powerpc/platforms/powermac/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powermac/Kconfig b/arch/powerpc/platforms/powermac/Kconfig
index 130707ec9f99..8bdae0caf21e 100644
--- a/arch/powerpc/platforms/powermac/Kconfig
+++ b/arch/powerpc/platforms/powermac/Kconfig
@@ -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