]> git.baikalelectronics.ru Git - uboot.git/commit
powerpc: mpc85xx: Only enable binman when it is needed
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jul 2020 19:56:02 +0000 (13:56 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:30:39 +0000 (19:30 -0600)
commitac7f948ecbd18b1d3e9d3a7f63a63831f0ff80e2
tree29c415e7eb2025440f7d0faba0530c5e5c82db1a
parentb1659207140fae6bbab7eaa2425f8c8f64636b81
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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/powerpc/Kconfig