Re: [PATCH v2 11/12] cli: Support macro processing with a fixed-size buffer

2020-12-07 Thread Tom Rini
On Thu, Nov 05, 2020 at 10:33:47AM -0700, Simon Glass wrote: > At present cli_simple_process_macros() requires that the caller provide > an output buffer that is exactly CONFIG_SYS_CBSIZE bytes in length. This > makes sense since it is designed to be used from the command line. But we > also want

[PATCH v2 11/12] cli: Support macro processing with a fixed-size buffer

2020-11-05 Thread Simon Glass
At present cli_simple_process_macros() requires that the caller provide an output buffer that is exactly CONFIG_SYS_CBSIZE bytes in length. This makes sense since it is designed to be used from the command line. But we also want to use it for bootargs substitution. Update the function to allow the