disk: part: add rksfc description print

Change-Id: I61fb8817fba3d4ddf799a17abb504c4e37c796d3
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
This commit is contained in:
Dingqiang Lin 2018-04-26 14:41:42 +08:00 committed by Kever Yang
parent 2c3e7d2a83
commit ae20a02c8e
1 changed files with 9 additions and 0 deletions

View File

@ -151,6 +151,12 @@ void dev_print (struct blk_desc *dev_desc)
dev_desc->revision,
dev_desc->product);
break;
case IF_TYPE_RKSFC:
printf ("Vendor: %s Rev: %s Prod: %s\n",
dev_desc->vendor,
dev_desc->revision,
dev_desc->product);
break;
case IF_TYPE_DOC:
puts("device type DOC\n");
return;
@ -285,6 +291,9 @@ static void print_part_header(const char *type, struct blk_desc *dev_desc)
case IF_TYPE_RKNAND:
puts("RKNAND");
break;
case IF_TYPE_RKSFC:
puts("RKSFC");
break;
default:
puts ("UNKNOWN");
break;