MAINLINE samsung: misc: add gpt restore option to lcd menu
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 24 Feb 2014 17:35:21 +0000 (18:35 +0100)
committerLukasz Majewski <l.majewski@samsung.com>
Mon, 31 Mar 2014 08:19:58 +0000 (10:19 +0200)
commitecfd650daaa30ec495ca0eb8469e9adf252c8f05
tree0b907ce5b4c7181a4e3292e2bfbc956d36629a6f
parent7b3bec505cbae0b3c39649b684384200d3450123
MAINLINE samsung: misc: add gpt restore option to lcd menu

Function cmd_process() runs commands with directly given list
of arguments but it doesn't expand given macros. Command gpt
expects expanded macro e.g. $partitions as an argument so it
needs to be called with 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()

Change-Id: I2749d0b3661e2430bedd215d4024f5ae68f358db
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
board/samsung/common/misc.c
include/samsung/misc.h