trusty:storageproxyd: Add ufs to parse_dev_type
Modify parse_dev_type function to accept new dev_type argument "ufs". Bug: 143636526 Test: Trusty storage tests Change-Id: I9524fd4cb9619b5ce1f4f46e87f1890f84f4d2f3
This commit is contained in:
parent
ce2f1a4761
commit
3bf07c27de
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,8 @@ static enum dev_type parse_dev_type(const char* dev_type_name) {
|
|||
return VIRT_RPMB;
|
||||
} else if (!strcmp(dev_type_name, "sock")) {
|
||||
return SOCK_RPMB;
|
||||
} else if (!strcmp(dev_type_name, "ufs")) {
|
||||
return UFS_RPMB;
|
||||
} else {
|
||||
return UNKNOWN_RPMB;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue