]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cpu: 83xx: Add missing dependency on CPU_MPC83XX
authorMichal Simek <michal.simek@xilinx.com>
Fri, 22 Apr 2022 13:32:21 +0000 (15:32 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
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>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/cpu/Kconfig

index 3d5729f6dca8b4ec56228cca98225ca309c4c713..789728167cebbc80443388e9caa4d6409c981762 100644 (file)
@@ -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.