diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2018-03-27 15:10:10 -0700 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | 2018-03-28 08:11:48 +0800 |
commit | f0e4df7fd480059f5b9e1b4c80efaeaf85325c5f (patch) | |
tree | d0abdaa2a9c971d05521a937c07d9006bbd2e438 | |
parent | 18e8dfa129dae88acafc3a0a641589d0f16a7f82 (diff) | |
download | OpenPlatformPkg-f0e4df7fd480059f5b9e1b4c80efaeaf85325c5f.tar.gz |
Platforms/hikey: Add vendor partition type support
Change-Id: I0e2c9bf09b8b174987ac524f9755cb26724f79f9
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r-- | Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastbootDxe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastbootDxe.c b/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastbootDxe.c index ee45b99..865258b 100644 --- a/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastbootDxe.c +++ b/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastbootDxe.c @@ -540,7 +540,8 @@ HiKeyFastbootPlatformGetVar ( } else if ( !AsciiStrnCmp (Name, "partition-type", 14)) {
DEBUG ((DEBUG_ERROR, "Fastboot platform: check for partition-type:%a\n", (Name + 15)));
if ( !AsciiStrnCmp ( (Name + 15) , "system", 6) || !AsciiStrnCmp ( (Name + 15) , "userdata", 8)
- || !AsciiStrnCmp ( (Name + 15) , "cache", 5)) {
+ || !AsciiStrnCmp ( (Name + 15) , "cache", 5)
+ || !AsciiStrnCmp ( (Name + 15) , "vendor", 6)) {
AsciiStrCpy (Value, "ext4");
} else {
AsciiStrCpy (Value, "raw");
|