
On 9 September 2016 at 02:27, Petr Kulhavy brain@jikos.cz wrote:
In both DOS and ISO partition tables the same code to create partition name like "hda1" was repeated.
Code moved to into a new function part_set_generic_name() in part.c and optimized. Added recognition of MMC and SD types, name is like "mmcsda1".
Signed-off-by: Petr Kulhavy brain@jikos.cz Reviewed-by: Tom Rini trini@konsulko.com
v1: initial v2: no change
disk/part.c | 32 ++++++++++++++++++++++++++++++++ disk/part_dos.c | 31 ++----------------------------- disk/part_iso.c | 25 +------------------------ doc/README.android-fastboot | 1 + include/part.h | 14 ++++++++++++++ 5 files changed, 50 insertions(+), 53 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org