dfu:mmc: support to get partition information by name
authorJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 6 Aug 2014 02:48:30 +0000 (11:48 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 8 Apr 2016 02:13:56 +0000 (11:13 +0900)
commita763468b016a1974c36bfd3a078ec14d68ae53e1
treeb3e65448e9ba370256739a593a369b01fcb3b94f
parentb1c90ce697297389d87978b787a2d2a5143d46e4
dfu:mmc: support to get partition information by name

The partitions can have partition name like label. If partition name is
exist, first get partition information by name than by partition number,
so we can ignore hardcoding dependency of partition number.

Change-Id: Ibfb2521438ce366959814c2a87085e9f384de588
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/dfu/dfu_mmc.c