[edk2] [PATCH edk2-platforms v4 07/11] Hisilicon/D05/Sas: Add SasPlatform

Heyi Guo posted 10 patches 7 years, 3 months ago
[edk2] [PATCH edk2-platforms v4 07/11] Hisilicon/D05/Sas: Add SasPlatform
Posted by Heyi Guo 7 years, 3 months ago
Install protocol to enable sas port which is using and
transmit base address info of sas port to SasDriverDxe.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ming Huang <huangming23@huawei.com>
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
---
 Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.efi | Bin 0 -> 3424 bytes
 Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.inf |  24 ++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.efi b/Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.efi
new file mode 100644
index 0000000000000000000000000000000000000000..d2685abd0f8373fc50c69837fc9a555389bfaed1
GIT binary patch
literal 3424
zcmbVNZ%iE55ue??18hh`;S30x-d%`lmslLZ7))aK9{*&dBm^B-3DuRdmxBfiTnvX@
zx2~N9OBD)jl=Gj|a;y6IXXP&DL))bF^-C^ARbBNHAk%(4z_wbsRgEz*8&zC?v$tz5
zPSUD=((cTg_h#PAZ)V<m`CIhZLwjt^Eyea0qOO>-B>;DqDk)bcN^B!?N$I6g%mqGc
zxWMrD=un^7+L!z2;up;Gzd-(ZVi()T!qGgUuYBHy$COnLb)Oi5F2~GqS~Sy~i%6~P
z3Je7xG;o0r7R}rzpk6uH-Pa#X`)c{jG;?5IW9IyE_|zGiTkD|cW-jUX6^ebE==>V!
zuW94AZizaRiX-MGq5C0EDuuDlT%oUZh$!^J3FXzrPQ<_?HJi4>x-L6)uAh{m@IHQD
zkzyKAjXOugy+plD3i;X266}5*Hpxbv*jKMgRFhPwQ%cYE<w*)FFA1IZs^nc9##*vi
z=+bU7WUOBW{dJtTP8+|mY*s*qYIN*Xw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/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.inf
new file mode 100644
index 0000000..0d747a1
--- /dev/null
+++ b/Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.inf
@@ -0,0 +1,24 @@
+#/** @file
+#
+#    Copyright (c) 2017, Hisilicon Limited. All rights reserved.
+#    Copyright (c) 2017, Linaro Limited. All rights reserved.
+#
+#    This program and the accompanying materials
+#    are licensed and made available under the terms and conditions of the BSD License
+#    which accompanies this distribution. The full text of the license may be found at
+#    http://opensource.org/licenses/bsd-license.php
+#
+#    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+#
+#**/
+
+[Defines]
+  INF_VERSION                    = 0x00010019
+  BASE_NAME                      = SasPlatform
+  FILE_GUID                      = 102D8FC9-20a4-42EB-aC14-1C98BA5b26A4
+  MODULE_TYPE                    = DXE_DRIVER
+  VERSION_STRING                 = 1.0
+
+[Binaries.AARCH64]
+  PE32|SasPlatform.efi|*
-- 
1.9.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel