[U-Boot] [PATCH v5 1/5] samsung: misc: allows using environmental macros as args in menu commands
Minkyu Kang
mk7.kang at samsung.com
Thu May 8 04:36:29 CEST 2014
On 30/04/14 20:28, Przemyslaw Marczak wrote:
> Function cmd_process() runs commands with directly given list of arguments
> but it doesn't expand given environmental variables names as macros.
> Command "gpt" as one of arguments expects expanded macro e.g. $partitions
> so it needs to be called by function run_command().
>
> Changes:
> - extend array mode_name by lower case commands names - used by find_cmd()
> - put each command arguments into one string - used by run_command()
> - use run_command() instead of cmd_process()
>
> Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
> Cc: Minkyu Kang <mk7.kang at samsung.com>
>
> ---
> Changes v2:
> - new commit after separate previous commit
>
> Changes v3:
> - none
>
> Changes v4:
> - none
>
> Changes v5:
> - none
>
> ---
> board/samsung/common/misc.c | 49 ++++++++++++++++++++-------------------------
> 1 file changed, 22 insertions(+), 27 deletions(-)
>
applied to u-boot-samsung.
Thanks,
Minkyu Kang.
More information about the U-Boot
mailing list