OSDN Git Service

ARM: OMAP2+: Fix booting for am335x after moving to simple-pm-bus
authorTony Lindgren <tony@atomide.com>
Fri, 15 Jan 2021 08:06:12 +0000 (10:06 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 15 Jan 2021 10:49:42 +0000 (12:49 +0200)
commit2a39af3870e99304df81d2a4058408d68efb02e0
tree0795eff60ff79f43214a93c44abb5c2021c53a00
parent715a1284d89a740b197b3bad5eb20d36a397382f
ARM: OMAP2+: Fix booting for am335x after moving to simple-pm-bus

We now depend on SIMPLE_PM_BUS for probing devices. While we have it
selected in omap2plus_defconfig, custom configs can fail if it's missing.

As SIMPLE_PM_BUS depends on OF and PM, we must now select PM in Kconfig.
We have already OF selected by ARCH_MULTIPLATFORM.

Let's also drop the earlier PM dependency entries as suggested by
Geert Uytterhoeven <geert@linux-m68k.org>.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reported-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Fixes: 5a230524f879 ("ARM: dts: Use simple-pm-bus for genpd for am3 l4_wkup")
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Kconfig