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, 10 Mar 2014 09:14:00 +0000 (10:14 +0100)
commit4d323f71e2de3a881c87cdfcfa14fdf9e5f3190e
tree01a6466fea610a08e657f5f2ee4221421c997c2c
parentf9cbbabaf732592522ebb357cf6b76964e73465d
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