diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2014-04-30 13:28:06 +0200 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-05-07 19:40:39 +0900 |
commit | e6bfe79f31a042cfbd2dd9ee159cdd1209535727 (patch) | |
tree | 50f2dc8253e6ce893035cc5952eeda96892cbf64 /board/bf527-sdp | |
parent | 188c42b33557787128f50e3a5a751747f58dd68f (diff) | |
download | u-boot-imx-e6bfe79f31a042cfbd2dd9ee159cdd1209535727.zip u-boot-imx-e6bfe79f31a042cfbd2dd9ee159cdd1209535727.tar.gz u-boot-imx-e6bfe79f31a042cfbd2dd9ee159cdd1209535727.tar.bz2 |
samsung: misc: allows using environmental macros as args in menu commands
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@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/bf527-sdp')
0 files changed, 0 insertions, 0 deletions