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

Michal Simek michal.simek at xilinx.com
Fri Apr 22 15:32:21 CEST 2022


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 at 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.
-- 
2.36.0



More information about the U-Boot mailing list