[PATCH] cpu: 83xx: Add missing dependency on CPU_MPC83XX

It looks quite weird that for non PPC platforms cpu driver for MPC83xx can be selected. That's why define proper dependency.
Signed-off-by: Michal Simek michal.simek@xilinx.com ---
drivers/cpu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cpu/Kconfig b/drivers/cpu/Kconfig index 3d5729f6dca8..789728167ceb 100644 --- a/drivers/cpu/Kconfig +++ b/drivers/cpu/Kconfig @@ -9,7 +9,7 @@ config CPU
config CPU_MPC83XX bool "Enable MPC83xx CPU driver" - depends on CPU + depends on CPU && MPC83xx select CLK_MPC83XX help Support CPU cores for SoCs of the MPC83xx series.

On Fri, Apr 22, 2022 at 03:32:21PM +0200, Michal Simek wrote:
It looks quite weird that for non PPC platforms cpu driver for MPC83xx can be selected. That's why define proper dependency.
Signed-off-by: Michal Simek michal.simek@xilinx.com
Long term, we need the "or compile testing only" option like Linux has, for doing static analysis checks via sandbox. But given what we have / do today, this makes the most sense.
Reviewed-by: Tom Rini trini@konsulko.com
participants (2)
-
Michal Simek
-
Tom Rini