[edk2] [PATCH edk2-platforms v4 03/11] Hisilicon/D03/Sas: Add SasPlatform

Heyi Guo posted 10 patches 7 years, 3 months ago
[edk2] [PATCH edk2-platforms v4 03/11] Hisilicon/D03/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/D03/Drivers/SasPlatform/SasPlatform.efi | Bin 0 -> 3040 bytes
 Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.inf |  24 ++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.efi b/Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.efi
new file mode 100644
index 0000000000000000000000000000000000000000..42556410b60c5edae4bb3814d97f9c2a2569a08b
GIT binary patch
literal 3040
zcmcImU2IfU5T1MQRyLHtE!_eEw7Vcb7VIuiT1#8@Y=49YD5SgkAP;QWRw1-h+Jb2L
zxmyx7)DRbnB#_9KpTyl*9~2aPVSyMmKDAil8@v3Nn3_mi8hTN>esj0m-tvSRPjdIn
z%$b=p^Ua)dcH<lLuZQ-pEhh{&R}s}k<p}|(2b52l5NTE-yOdhezzdU_9b*2T9`Vcx
zJ&?~d)MwI~tmK08`IANeiOX-T-`5HcoHOT{p3P3}ME?A`+SXbK8JF19iP@|tuw>@{
zPda&+dWO6d8O<d9p+eD3M4dyJzoL<E5>=!+Na%6J7F`E<T*;1(W(s}CD<ZH9#gwhL
zk~dQJY(s)j3UOt)O^Q5Jq^L$z;IN7-ZlawP3i;SR0beh`m$uf>E%r-P;4e35-Qgxx
z*&y^g=P1OwesbT6&lY;(aZ;6*6XHnOFM|Cr_8X>=uhX(z$P^;mYDMeKp$CI;B`3;p
z4!3zCh%pr_a^*ZZ-yy`u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B+bvN$5{nBaX6N;2a
z)@!Gjwxg$c<~Jrbom4&p+35LN#N9fbvT&c~@mt|QU;C$0RswQ<8(1Ekq0O8JTAM~{
z4s3Ylx8>5V`Q99B-`s?flZQJbZzgom^I2U7tzPEQ!-hTYfhQhxcAf+p_o8vHjlT(F
zcf+fQA8(tDW1M&!D6atLtQ0nyto1r1t;Vlh99+phn1?^+^LgE(_2Ny-V?K}94L;l8
z7lVh~(D(lQaqj}~t0+83IGe1G{~w(~vKAr!fiBeGdFJ7t@98YW6b61>qsfyGQ3tm1
zjO_~`IyJ1Z56)4;dEva#^Tu6o<UPalCFja_Z2GNc{J0(x&RiUIGHO$y^xbwVeN5jr
z(G)K+WMXWl^tcXd4BxWUzo!v2fO(v0|INO9&8c;#j#nMX-uy}9w*}o9a+9t6ME=Hb
z@zG^hx>n5Fvh74~)=@Wwf85brVzRw4M#p&OT~a&IS>`dq{A1b<ZEKA1*!+(t_H`WJ
z1^~uib@>XH*@<&|Q)9hzyUVqzXmx>WrL(1JPjjH&xvRdh$@%u4mhH~+Jv$oeoRzLs
z-qcD>)rKmMw`%LUii(0_r^i!MvA(dtx&EEaJKu6vHt*P5-`wK#*0yYJsBL|-skw0y
RU0GHB+B&l&zpkNy=x+#-M5h1%

literal 0
HcmV?d00001

diff --git a/Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.inf b/Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.inf
new file mode 100644
index 0000000..0d747a1
--- /dev/null
+++ b/Platform/Hisilicon/D03/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