aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@linaro.org>2018-03-28 08:14:19 +0800
committerGitHub <noreply@github.com>2018-03-28 08:14:19 +0800
commitb2e01b201b1de31db139b29ccb819bbd9e70a943 (patch)
treed0abdaa2a9c971d05521a937c07d9006bbd2e438
parent068b8a7abc0140fe37e0f8183f0cbefbc6d8eb6d (diff)
parentf0e4df7fd480059f5b9e1b4c80efaeaf85325c5f (diff)
downloadOpenPlatformPkg-b2e01b201b1de31db139b29ccb819bbd9e70a943.tar.gz
Merge pull request #111 from hzhuang1/sync_mar28_2
Sync mar28 2
-rw-r--r--Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastbootDxe.c3
-rw-r--r--Platforms/Hisilicon/HiKey960/HiKey960.dsc2
2 files changed, 3 insertions, 2 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");
diff --git a/Platforms/Hisilicon/HiKey960/HiKey960.dsc b/Platforms/Hisilicon/HiKey960/HiKey960.dsc
index 149d333..6d29dec 100644
--- a/Platforms/Hisilicon/HiKey960/HiKey960.dsc
+++ b/Platforms/Hisilicon/HiKey960/HiKey960.dsc
@@ -282,7 +282,7 @@
gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
- gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"HiKey960"
+ gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"hikey960"
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"Alpha"
gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"HiKey960"