Platforms/Hisilicon: add D05 binary module INF and binary files

1. Add binary module files.
2. System initialization on D05 has some differences from that on D02 and
   D03, so we extract more platform system control interfaces to support
   D05 within the same architectural modules.
3. Add  License.txt.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
diff --git a/Chips/Hisilicon/Binary/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.inf b/Chips/Hisilicon/Binary/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.inf
new file mode 100644
index 0000000..1fee6ea
--- /dev/null
+++ b/Chips/Hisilicon/Binary/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.inf
@@ -0,0 +1,48 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = Hi1616SerdesLib

+  FILE_GUID                      = FC5651CA-55D8-4fd2-B6D3-A284D993ABA2

+  MODULE_TYPE                    = BASE

+  VERSION_STRING                 = 1.0

+  LIBRARY_CLASS                  = SerdesLib

+

+[Binaries.common]

+  LIB|Hi1616SerdesLib.lib

+

+[Packages]

+  MdeModulePkg/MdeModulePkg.dec

+  MdePkg/MdePkg.dec

+

+  OpenPlatformPkg/Chips/Hisilicon/HisiPkg.dec

+

+

+[LibraryClasses]

+  BaseLib

+  BaseMemoryLib

+  DebugLib

+  TimerLib

+  IoLib

+

+  OemMiscLib

+

+[BuildOptions]

+

+[FixedPcd]

+  gHisiTokenSpaceGuid.PcdSerDesFlowCtrlFlag

+

+[Pcd]

diff --git a/Chips/Hisilicon/Binary/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib b/Chips/Hisilicon/Binary/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib
new file mode 100644
index 0000000..82abd5f
--- /dev/null
+++ b/Chips/Hisilicon/Binary/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib
Binary files differ
diff --git a/Chips/Hisilicon/Binary/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.inf b/Chips/Hisilicon/Binary/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.inf
new file mode 100644
index 0000000..50c63a1
--- /dev/null
+++ b/Chips/Hisilicon/Binary/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.inf
@@ -0,0 +1,54 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = PlatformSysCtrlLibHi1616

+  FILE_GUID                      = EBF63479-8F72-4ada-8B2A-960322F7F61A

+  MODULE_TYPE                    = BASE

+  VERSION_STRING                 = 1.0

+  LIBRARY_CLASS                  = PlatformSysCtrlLib

+

+[Sources.common]

+

+

+[Sources.AARCH64]

+

+[Binaries.AARCH64]

+ LIB|PlatformSysCtrlLibHi1616.lib|*

+

+[Packages]

+  ArmPkg/ArmPkg.dec

+  MdeModulePkg/MdeModulePkg.dec

+  MdePkg/MdePkg.dec

+

+  OpenPlatformPkg/Chips/Hisilicon/HisiPkg.dec

+

+[LibraryClasses]

+  ArmLib

+  IoLib

+  OemAddressMapLib

+  OemMiscLib

+

+[FixedPcd]

+  gHisiTokenSpaceGuid.PcdAlgSmmuBaseAddress

+  gHisiTokenSpaceGuid.PcdDsaSmmuBaseAddress

+  gHisiTokenSpaceGuid.PcdPcieSmmuBaseAddress

+  gHisiTokenSpaceGuid.PcdPlatformDefaultPackageType

+  gHisiTokenSpaceGuid.PcdTrustedFirmwareEnable

+  gHisiTokenSpaceGuid.PcdM3SmmuBaseAddress

+

+[BuildOptions]

+

diff --git a/Chips/Hisilicon/Binary/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib b/Chips/Hisilicon/Binary/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib
new file mode 100644
index 0000000..a4fe13a
--- /dev/null
+++ b/Chips/Hisilicon/Binary/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib
Binary files differ
diff --git a/Chips/Hisilicon/Binary/License.txt b/Chips/Hisilicon/Binary/License.txt
new file mode 100644
index 0000000..cd6fd02
--- /dev/null
+++ b/Chips/Hisilicon/Binary/License.txt
@@ -0,0 +1,25 @@
+Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+

+Redistribution and use in source and binary forms, with or without

+modification, are permitted provided that the following conditions

+are met:

+

+1. Redistributions of source code must retain the above copyright

+   notice, this list of conditions and the following disclaimer.

+2. Redistributions in binary form must reproduce the above copyright

+   notice, this list of conditions and the following disclaimer in

+   the documentation and/or other materials provided with the

+   distribution.

+

+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS

+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT

+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS

+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE

+COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,

+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,

+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;

+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER

+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT

+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN

+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE

+POSSIBILITY OF SUCH DAMAGE.

diff --git a/Chips/Hisilicon/Include/Library/PlatformSysCtrlLib.h b/Chips/Hisilicon/Include/Library/PlatformSysCtrlLib.h
index f374112..ec2b9a3 100644
--- a/Chips/Hisilicon/Include/Library/PlatformSysCtrlLib.h
+++ b/Chips/Hisilicon/Include/Library/PlatformSysCtrlLib.h
@@ -90,8 +90,17 @@
 UINT32 PlatformGetEhciBase ();

 UINT32 PlatformGetOhciBase ();

 VOID PlatformPllInit();

+// PLL initialization for super IO clusters.

+VOID SiclPllInit(UINT32 SclId);

 VOID PlatformDeviceDReset();

 VOID PlatformGicdInit();

 VOID PlatformLpcInit();

+// Synchronize architecture timer counter between different super computing

+// clusters.

+VOID PlatformArchTimerSynchronize(VOID);

+VOID PlatformEventBroadcastConfig(VOID);

+UINTN GetDjtagRegBase(UINT32 NodeId);

+VOID LlcCleanInvalidateAsm(VOID);

+VOID PlatformMdioInit(VOID);

 

 #endif

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.depex b/Platforms/Hisilicon/Binary/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.depex
new file mode 100644
index 0000000..2a47cc2
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.depex
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi b/Platforms/Hisilicon/Binary/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi
new file mode 100644
index 0000000..3eb81a6
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf b/Platforms/Hisilicon/Binary/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf
new file mode 100644
index 0000000..20e2f05
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf
@@ -0,0 +1,26 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = GetInfoFromBmc

+  FILE_GUID                      = 43B59C81-9C5F-4021-B0F2-947DB839B781

+  MODULE_TYPE                    = DXE_DRIVER

+  VERSION_STRING                 = 1.0

+  ENTRY_POINT                    = GetBmcInfoDriverEntry

+

+[Binaries]

+  PE32|GetInfoFromBmc.efi|*

+  DXE_DEPEX|GetInfoFromBmc.depex|*

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex b/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex
new file mode 100644
index 0000000..2a47cc2
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi b/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi
new file mode 100644
index 0000000..eba2141
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf b/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf
new file mode 100644
index 0000000..a614b68
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf
@@ -0,0 +1,28 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = IpmiInterfaceDxe

+  FILE_GUID                      = EF5483F8-68AD-4D71-9A23-674D2E9C013E

+  MODULE_TYPE                    = DXE_DRIVER

+  VERSION_STRING                 = 1.0

+

+[Binaries.common]

+  PE32|IpmiInterfaceDxe.efi|*

+  DXE_DEPEX|IpmiInterfaceDxe.depex|*

+

+

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi b/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi
new file mode 100644
index 0000000..c4b5cd3
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf b/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf
new file mode 100644
index 0000000..e55d3f7
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf
@@ -0,0 +1,32 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = IpmiInterfacePei

+  FILE_GUID                      = 269702AF-8004-4570-A08E-00762AE65D15

+  MODULE_TYPE                    = PEIM

+  VERSION_STRING                 = 1.0

+  ENTRY_POINT                    = IpmiInterfacePeiEntry

+

+[Sources]

+

+[Binaries.AARCH64]

+  TE|IpmiInterfacePei.efi|*

+

+[Depex]

+  TRUE

+

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi
new file mode 100644
index 0000000..1ff9bdc
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.depex b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.depex
new file mode 100644
index 0000000..2a47cc2
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.depex
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf
new file mode 100644
index 0000000..8075f40
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf
@@ -0,0 +1,27 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = IpmiMiscOp

+  FILE_GUID                      = EC68451C-6D10-4ba2-9862-D27D4D6090DB

+  MODULE_TYPE                    = DXE_DRIVER

+  VERSION_STRING                 = 1.0

+  ENTRY_POINT                    = IpmiMiscOpEntry

+

+[Binaries]

+  PE32|IpmiMiscOp.efi|*

+  DXE_DEPEX|IpmiMiscOpDxe.depex|*

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex
new file mode 100644
index 0000000..2a47cc2
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi
new file mode 100644
index 0000000..5152d4b
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf
new file mode 100644
index 0000000..c173587
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf
@@ -0,0 +1,27 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = IpmiWatchdogDxe

+  FILE_GUID                      = 7C7ACA9F-DB25-43FB-A479-1B6E42F38792

+  MODULE_TYPE                    = DXE_DRIVER

+  VERSION_STRING                 = 1.0

+  ENTRY_POINT                    = InitializeWatchdogDxeEntry

+

+[Binaries]

+  PE32|IpmiWatchdogDxe.efi|*

+  DXE_DEPEX|IpmiWatchdogDxe.depex|*

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac0/SnpPV600DxeMac0.efi b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac0/SnpPV600DxeMac0.efi
new file mode 100644
index 0000000..65e9a06
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac0/SnpPV600DxeMac0.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac0/SnpPV600DxeMac0.inf b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac0/SnpPV600DxeMac0.inf
new file mode 100644
index 0000000..6c69e5b
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac0/SnpPV600DxeMac0.inf
@@ -0,0 +1,29 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = SnpPV600Dxe

+  FILE_GUID                      = 92D37768-571C-48d9-BEF5-9744AE2FDAF4

+  MODULE_TYPE                    = UEFI_DRIVER

+  VERSION_STRING                 = 1.0

+

+  ENTRY_POINT                    = InitializeSnpPV600Driver

+  UNLOAD_IMAGE                   = SnpPV600Unload

+

+[Binaries]

+ PE32|SnpPV600DxeMac0.efi|*

+

+

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac1/SnpPV600DxeMac1.efi b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac1/SnpPV600DxeMac1.efi
new file mode 100644
index 0000000..edc32a8
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac1/SnpPV600DxeMac1.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac1/SnpPV600DxeMac1.inf b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac1/SnpPV600DxeMac1.inf
new file mode 100644
index 0000000..b2c801d
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac1/SnpPV600DxeMac1.inf
@@ -0,0 +1,28 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = SnpPV600Dxe

+  FILE_GUID                      = 3247F150-3612-4803-BD4E-4104D7EF944A

+  MODULE_TYPE                    = UEFI_DRIVER

+  VERSION_STRING                 = 1.0

+

+  ENTRY_POINT                    = InitializeSnpPV600Driver

+  UNLOAD_IMAGE                   = SnpPV600Unload

+

+[Binaries]

+ PE32|SnpPV600DxeMac1.efi|*

+

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac4/SnpPV600DxeMac4.efi b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac4/SnpPV600DxeMac4.efi
new file mode 100644
index 0000000..e2d25cb
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac4/SnpPV600DxeMac4.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac4/SnpPV600DxeMac4.inf b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac4/SnpPV600DxeMac4.inf
new file mode 100644
index 0000000..c7794be
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac4/SnpPV600DxeMac4.inf
@@ -0,0 +1,27 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = SnpPV600Dxe

+  FILE_GUID                      = 3247F153-3612-4803-BD4E-4104D7EF944A

+  MODULE_TYPE                    = UEFI_DRIVER

+  VERSION_STRING                 = 1.0

+  ENTRY_POINT                    = InitializeSnpPV600Driver

+  UNLOAD_IMAGE                   = SnpPV600Unload

+

+[Binaries]

+ PE32|SnpPV600DxeMac4.efi|*

+

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac5/SnpPV600DxeMac5.efi b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac5/SnpPV600DxeMac5.efi
new file mode 100644
index 0000000..282c2fb
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac5/SnpPV600DxeMac5.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac5/SnpPV600DxeMac5.inf b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac5/SnpPV600DxeMac5.inf
new file mode 100644
index 0000000..b06a3db
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Net/SnpPV660DxeMac5/SnpPV600DxeMac5.inf
@@ -0,0 +1,27 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = SnpPV600Dxe

+  FILE_GUID                      = 3246F154-3612-4803-BD4E-4104D7EF944A

+  MODULE_TYPE                    = UEFI_DRIVER

+  VERSION_STRING                 = 1.0

+  ENTRY_POINT                    = InitializeSnpPV600Driver

+  UNLOAD_IMAGE                   = SnpPV600Unload

+

+[Binaries]

+ PE32|SnpPV600DxeMac5.efi|*

+

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/OhciDxe/NativeOhci.efi b/Platforms/Hisilicon/Binary/D05/Drivers/OhciDxe/NativeOhci.efi
new file mode 100644
index 0000000..01bd9b4
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/OhciDxe/NativeOhci.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/OhciDxe/OhciDxe.inf b/Platforms/Hisilicon/Binary/D05/Drivers/OhciDxe/OhciDxe.inf
new file mode 100644
index 0000000..80d9c49
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/OhciDxe/OhciDxe.inf
@@ -0,0 +1,26 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = NativeOhci

+  FILE_GUID                      = 043D0B5E-DAC1-463a-85BA-2CEDC33A8C4F

+  MODULE_TYPE                    = UEFI_DRIVER

+  VERSION_STRING                 = 1.0

+

+[Binaries]

+   PE32|NativeOhci.efi|*

+

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.depex b/Platforms/Hisilicon/Binary/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.depex
new file mode 100644
index 0000000..2a47cc2
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.depex
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi b/Platforms/Hisilicon/Binary/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi
new file mode 100644
index 0000000..cc72539
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf b/Platforms/Hisilicon/Binary/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf
new file mode 100644
index 0000000..ab2be5e
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf
@@ -0,0 +1,25 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = ReportPciePlugDidVidToBmc

+  FILE_GUID                      = 9BC4A5D1-5A46-4A6C-AF11-4875268179D3

+  MODULE_TYPE                    = DXE_DRIVER

+  VERSION_STRING                 = 1.0

+

+[Binaries]

+  PE32|ReportPciePlugDidVidToBmc.efi|*

+  DXE_DEPEX|ReportPciePlugDidVidToBmc.depex|*

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/SFC/SFCDriver.depex b/Platforms/Hisilicon/Binary/D05/Drivers/SFC/SFCDriver.depex
new file mode 100644
index 0000000..2a47cc2
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/SFC/SFCDriver.depex
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/SFC/SFCDriver.efi b/Platforms/Hisilicon/Binary/D05/Drivers/SFC/SFCDriver.efi
new file mode 100644
index 0000000..89bac2d
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/SFC/SFCDriver.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/SFC/SfcDxeDriver.inf b/Platforms/Hisilicon/Binary/D05/Drivers/SFC/SfcDxeDriver.inf
new file mode 100644
index 0000000..909462f
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/SFC/SfcDxeDriver.inf
@@ -0,0 +1,29 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = SFCDriver

+  FILE_GUID                      = FC5651CA-55D8-4fd2-B6D3-A284D993ABA2

+  MODULE_TYPE                    = DXE_DRIVER

+  VERSION_STRING                 = 1.0

+  ENTRY_POINT                    = SFCInitialize

+

+

+

+[Binaries.common]

+  PE32|SFCDriver.efi|*

+  DXE_DEPEX|SFCDriver.depex|*

+

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Sas/SasDriverDxe.efi b/Platforms/Hisilicon/Binary/D05/Drivers/Sas/SasDriverDxe.efi
new file mode 100644
index 0000000..6021d12
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Sas/SasDriverDxe.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Sas/SasDxeDriver.inf b/Platforms/Hisilicon/Binary/D05/Drivers/Sas/SasDxeDriver.inf
new file mode 100644
index 0000000..539d612
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Sas/SasDxeDriver.inf
@@ -0,0 +1,28 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = SasDriverDxe

+  FILE_GUID                      = 49ea041e-6752-42ca-b0b1-7344fe234567

+  MODULE_TYPE                    = UEFI_DRIVER

+  VERSION_STRING                 = 1.0

+

+  ENTRY_POINT                    = SasDriverInitialize

+

+[Binaries]

+   PE32|SasDriverDxe.efi|*

+

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi b/Platforms/Hisilicon/Binary/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi
new file mode 100644
index 0000000..3bbfcd0
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/Sm750Dxe/UefiSmi.inf b/Platforms/Hisilicon/Binary/D05/Drivers/Sm750Dxe/UefiSmi.inf
new file mode 100644
index 0000000..0590919
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/Sm750Dxe/UefiSmi.inf
@@ -0,0 +1,32 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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            = SmiGraphicsOutput

+  FILE_GUID            = BFB7B510-B09B-11DB-96E3-005056C00008

+  MODULE_TYPE          = UEFI_DRIVER

+  VERSION_STRING       = 1.0

+

+  PCI_VENDOR_ID        = 0x126F

+  PCI_DEVICE_ID        = 0x0750

+  PCI_CLASS_CODE       = 0x030000

+  PCI_REVISION         = 0xA1

+  COMPRESS             = TRUE

+

+[Binaries]

+  PE32|SmiGraphicsOutput.efi|*

+

diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex b/Platforms/Hisilicon/Binary/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex
new file mode 100644
index 0000000..2a47cc2
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi b/Platforms/Hisilicon/Binary/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi
new file mode 100644
index 0000000..3cb9a4e
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.inf b/Platforms/Hisilicon/Binary/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.inf
new file mode 100644
index 0000000..6b34037
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.inf
@@ -0,0 +1,26 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = TransSmbiosInfo

+  FILE_GUID                      = 13668C32-1977-436a-800C-F8644D11CB76

+  MODULE_TYPE                    = DXE_DRIVER

+  VERSION_STRING                 = 1.0

+  ENTRY_POINT                    = TransferSmbiosInfoToBMC

+

+[Binaries]

+  PE32|TransSmbiosInfo.efi|*

+  DXE_DEPEX|TransSmbiosInfo.depex|*

diff --git a/Platforms/Hisilicon/Binary/D05/Ebl/Ebl.efi b/Platforms/Hisilicon/Binary/D05/Ebl/Ebl.efi
new file mode 100644
index 0000000..f053519
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Ebl/Ebl.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Ebl/Ebl.inf b/Platforms/Hisilicon/Binary/D05/Ebl/Ebl.inf
new file mode 100644
index 0000000..9419fcb
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Ebl/Ebl.inf
@@ -0,0 +1,32 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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 Section - statements that will be processed to create a Makefile.

+#

+################################################################################

+[Defines]

+  INF_VERSION                    = 0x00010019

+  BASE_NAME                      = Ebl

+  FILE_GUID                      = 3CEF354A-3B7A-4519-AD70-72A134698311

+  MODULE_TYPE                    = UEFI_APPLICATION

+  VERSION_STRING                 = 1.0

+  ENTRY_POINT                    = EdkBootLoaderEntry

+

+[Binaries.common]

+  PE32|Ebl.efi|*

+

diff --git a/Platforms/Hisilicon/Binary/D05/Library/FdtUpdateLib/FdtUpdateLib.inf b/Platforms/Hisilicon/Binary/D05/Library/FdtUpdateLib/FdtUpdateLib.inf
new file mode 100644
index 0000000..cb4cda8
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Library/FdtUpdateLib/FdtUpdateLib.inf
@@ -0,0 +1,51 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = FdtUpdateLib

+  FILE_GUID                      = 02CF1727-E697-47fc-8CC2-5DCB81B26DD9

+  MODULE_TYPE                    = BASE

+  VERSION_STRING                 = 1.0

+  LIBRARY_CLASS                  = FdtUpdateLib

+

+[Sources.common]

+

+[Binaries.AARCH64]

+  LIB|FdtUpdateLib.lib|*

+

+[Sources.AARCH64.GCC]

+

+[Packages]

+  EmbeddedPkg/EmbeddedPkg.dec

+  MdeModulePkg/MdeModulePkg.dec

+  MdePkg/MdePkg.dec

+  OpenPlatformPkg/Chips/Hisilicon/HisiPkg.dec

+

+[LibraryClasses]

+  FdtLib

+  OemMiscLib

+  PlatformSysCtrlLib

+

+[Protocols]

+  gEfiGenericMemTestProtocolGuid

+

+

+[Pcd]

+  gHisiTokenSpaceGuid.PcdIsMPBoot

+  gHisiTokenSpaceGuid.PcdNumaEnable

+  gHisiTokenSpaceGuid.Pcdsoctype

+

diff --git a/Platforms/Hisilicon/Binary/D05/Library/FdtUpdateLib/FdtUpdateLib.lib b/Platforms/Hisilicon/Binary/D05/Library/FdtUpdateLib/FdtUpdateLib.lib
new file mode 100644
index 0000000..8045d7a
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Library/FdtUpdateLib/FdtUpdateLib.lib
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/Library/OemAddressMapD05/OemAddressMapD05.inf b/Platforms/Hisilicon/Binary/D05/Library/OemAddressMapD05/OemAddressMapD05.inf
new file mode 100644
index 0000000..6743eef
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Library/OemAddressMapD05/OemAddressMapD05.inf
@@ -0,0 +1,44 @@
+#/** @file

+#

+#    Copyright (c) 2016, Hisilicon Limited. All rights reserved.

+#    Copyright (c) 2016, 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                      = OemAddressMapD05

+  FILE_GUID                      = 32BC48E3-5428-4556-A383-25A23EA816A7

+  MODULE_TYPE                    = BASE

+  VERSION_STRING                 = 1.0

+  LIBRARY_CLASS                  = OemAddressMapLib

+

+[Sources.common]

+

+[Binaries.AARCH64]

+  LIB|OemAddressMapD05.lib|*

+

+[Sources.AARCH64.GCC]

+

+[Packages]

+  ArmPkg/ArmPkg.dec

+  MdeModulePkg/MdeModulePkg.dec

+  MdePkg/MdePkg.dec

+  OpenPlatformPkg/Chips/Hisilicon/HisiPkg.dec

+

+[LibraryClasses]

+  CpldIoLib

+[BuildOptions]

+

+[FixedPcd]

+  gHisiTokenSpaceGuid.PcdNORFlashBase

+

diff --git a/Platforms/Hisilicon/Binary/D05/Library/OemAddressMapD05/OemAddressMapD05.lib b/Platforms/Hisilicon/Binary/D05/Library/OemAddressMapD05/OemAddressMapD05.lib
new file mode 100644
index 0000000..e37546e
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Library/OemAddressMapD05/OemAddressMapD05.lib
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/MemoryInitPei/MemoryInit.efi b/Platforms/Hisilicon/Binary/D05/MemoryInitPei/MemoryInit.efi
new file mode 100644
index 0000000..fd1208e
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/MemoryInitPei/MemoryInit.efi
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/MemoryInitPei/MemoryInitPeim.inf b/Platforms/Hisilicon/Binary/D05/MemoryInitPei/MemoryInitPeim.inf
new file mode 100644
index 0000000..da28c5a
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/MemoryInitPei/MemoryInitPeim.inf
@@ -0,0 +1,33 @@
+#/** @file

+#

+#  Copyright (c) 2011-2014, ARM Ltd. All rights reserved.<BR>

+#  Copyright (c) 2016, Hisilicon Limited. All rights reserved.<BR>

+#  Copyright (c) 2016, Linaro Limited. 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 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.

+#

+#  Based on the files under ArmPlatformPkg/MemoryInitPei/

+#

+#**/

+

+[Defines]

+  INF_VERSION                    = 0x00010019

+  BASE_NAME                      = MemoryInit

+  FILE_GUID                      = c61ef796-b50d-4f98-9f78-4f6f79d800d5

+  MODULE_TYPE                    = PEIM

+  VERSION_STRING                 = 1.0

+

+  ENTRY_POINT                    = InitializeMemory

+

+[Sources]

+

+[Binaries.AARCH64]

+  TE|MemoryInit.efi|*

+

+[Depex]

+  TRUE

diff --git a/Platforms/Hisilicon/Binary/D05/Sec/FVMAIN_SEC.Fv b/Platforms/Hisilicon/Binary/D05/Sec/FVMAIN_SEC.Fv
new file mode 100644
index 0000000..16500b7
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/Sec/FVMAIN_SEC.Fv
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/bl1.bin b/Platforms/Hisilicon/Binary/D05/bl1.bin
new file mode 100644
index 0000000..f207cd9
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/bl1.bin
Binary files differ
diff --git a/Platforms/Hisilicon/Binary/D05/fip.bin b/Platforms/Hisilicon/Binary/D05/fip.bin
new file mode 100644
index 0000000..0952662
--- /dev/null
+++ b/Platforms/Hisilicon/Binary/D05/fip.bin
Binary files differ