cmd_mmc.c: Add 'partconf' command to mmc
authorTom Rini <trini@ti.com>
Wed, 5 Feb 2014 15:24:21 +0000 (10:24 -0500)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 7 Feb 2014 16:17:49 +0000 (18:17 +0200)
commit792970b0a344d905848fb98564ed469786af11b7
tree89f7479dc39b8e4cbab50f293626b148bd5e0ae7
parentf1fd957e12d9952702228c509cba1fa24858c98d
cmd_mmc.c: Add 'partconf' command to mmc

Add a partconf sub-command to the mmc command to allow for setting
the boot_ack, boot_partition and partition_access fields of
PARTITION_CONFIG (formerly BOOT_CONFIG, EXT_CSD[179]).  Part of this
requires changing the check for 'part' from an strncmp to a strcmp, like
the rest of the sub-commands.

Cc: Andy Fleming <afleming@gmail.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
common/cmd_mmc.c
drivers/mmc/mmc.c
include/mmc.h