diff options
author | Hao Wu <hao.a.wu@intel.com> | 2018-05-21 13:12:09 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2018-06-25 09:13:12 +0800 |
commit | 796ef9da06bf1ab81b0b55f091630aa50cf9dfe0 (patch) | |
tree | 0381fbaece1a35962b2f9705f8b5310d154b8f7a /FatPkg/FatPei/FatLiteApi.c | |
parent | 73ca09d2f1d23b2475a8cace68b762f22fea6610 (diff) | |
download | edk2-796ef9da06bf1ab81b0b55f091630aa50cf9dfe0.tar.gz edk2-796ef9da06bf1ab81b0b55f091630aa50cf9dfe0.tar.bz2 edk2-796ef9da06bf1ab81b0b55f091630aa50cf9dfe0.zip |
FatPkg/FatPei: Add the recognition of recovery capsule on NVME device
The driver now can recognize the BlockIo2 PPI for NVM Express devices.
And support identifying the recovery capsule on those devices.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'FatPkg/FatPei/FatLiteApi.c')
-rw-r--r-- | FatPkg/FatPei/FatLiteApi.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/FatPkg/FatPei/FatLiteApi.c b/FatPkg/FatPei/FatLiteApi.c index e302657132..b455390610 100644 --- a/FatPkg/FatPei/FatLiteApi.c +++ b/FatPkg/FatPei/FatLiteApi.c @@ -1,7 +1,7 @@ /** @file
FAT recovery PEIM entry point, Ppi Functions and FAT Api functions.
-Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
@@ -485,6 +485,10 @@ GetRecoveryCapsuleInfo ( CopyGuid (CapsuleType, &gRecoveryOnFatUsbDiskGuid);
break;
+ case MSG_NVME_NAMESPACE_DP:
+ CopyGuid (CapsuleType, &gRecoveryOnFatNvmeDiskGuid);
+ break;
+
default:
break;
}
|