Re: [PATCH v2 32/49] powerpc: mpc85xx: Only enable binman when it is needed

2020-06-29 Thread Bin Meng
On Sun, Jun 14, 2020 at 10:58 AM Simon Glass wrote: > > 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,

[PATCH v2 32/49] powerpc: mpc85xx: Only enable binman when it is needed

2020-06-13 Thread Simon Glass
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