From: Simon Glass Date: Sun, 19 Jul 2020 19:56:02 +0000 (-0600) Subject: powerpc: mpc85xx: Only enable binman when it is needed X-Git-Tag: v2020.10~87^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be17bcb9af3bf8c0054c4cd5b2a5e469181897b5;p=platform%2Fkernel%2Fu-boot.git powerpc: mpc85xx: Only enable binman when it is needed Quite a few boards using this SoC family don't use binman, yet CONFIG_BINMAN is enabled for all of them. But the option should only be enabled if we expect binman to produce an image. Calling binman when the device tree is missing, etc. will cause failer. Add a condition so that CONFIG_BINMAN is only enabled as needed. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index c2c577f..6a2e88f 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -20,7 +20,7 @@ config MPC85xx select CREATE_ARCH_SYMLINK select SYS_FSL_DDR select SYS_FSL_DDR_BE - select BINMAN + select BINMAN if OF_SEPARATE imply CMD_HASH imply CMD_IRQ imply USB_EHCI_HCD if USB