[U-Boot] [U-Boot, v3, 5/9] Drop command-processing code when CONFIG_CMDLINE is disabled

Simon Glass sjg at chromium.org
Mon Apr 4 15:18:59 CEST 2016


Hi Stefan,

On Apr 4, 2016 03:16, "Stefan Roese" <sr at denx.de> wrote:
>
> Hi Simon, Hi Tom!
>
>
> On 02.04.2016 03:55, Tom Rini wrote:
>>
>> On Sat, Mar 19, 2016 at 02:18:38AM -0600, Simon Glass wrote:
>>
>>> Command parsing and processing code is not needed when the command line
is
>>> disabled. Remove this code in that case.
>>>
>>> Signed-off-by: Simon Glass <sjg at chromium.org>
>>> Reviewed-by: Tom Rini <trini at konsulko.com>
>>
>>
>> Applied to u-boot/master, thanks!
>
>
> I just noticed that this patch breaks U-Boot on some boards. All that
> don't have CONFIG_SYS_HUSH_PARSER or CONFIG_CMDLINE enabled (e.g.
> some MVEBU board, like the "db-mv784mp-gp".
>
> How should this be solved? Should we enable CONFIG_CMDLINE per
> default (via config_defaults.h ?)? Or should we enable CONFIG_CMDLINE
> in all board config headers that are currently missing it?

All boards should have CONFIG_CMDLINE enables by default. Is the problem
with the build or at run-time?

Regards,
Simon


More information about the U-Boot mailing list