common: introduce factory_info command
authorChanho Park <chanho61.park@samsung.com>
Tue, 1 Dec 2015 10:39:02 +0000 (19:39 +0900)
committerChanho Park <chanho61.park@samsung.com>
Wed, 2 Dec 2015 02:39:17 +0000 (11:39 +0900)
commitd82fb6dee5b1016fc61429c11e9dcf763321036d
tree3cad052875c99864a36d2c86662005bb1db1a6ec
parentf32803e7e626a7e7e81ca2ea87faacc538889d5b
common: introduce factory_info command

This patch introduces factory_info command to save/load
the factory information such as s/n, mac address.
The command supports mmc interface to save/load data into
mmc device. Please refer below command usage.

"Factory Information commands",
"list - List factory information\n"
"factory_info load <interface> <device> <offset> <cnt>\n"
"        - Load factory information from the interface\n"
"factory_info save <interface> <device> <offset> <cnt>\n"
"        - Save factory information to the interface\n"
"factory_info read <entity name> - Read a value of entity name\n"
"factory_info write <entity name> <val> - Write a value of entity name\n"
"factory_info clean - Clean factioy information\n"

Change-Id: Ia1f4cebf264f6f573000d001fe24a6cc88c5a8e8
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
common/Makefile
common/cmd_factory_info.c [new file with mode: 0644]