new file mode 100644
@@ -0,0 +1,26 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = GetInfoFromBmc
+ FILE_GUID = d6f3d102-f2f7-42ba-8e26-ba34fac721fa
+ MODULE_TYPE = DXE_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = GetBmcInfoDriverEntry
+
+[Binaries.AARCH64]
+ PE32|GetInfoFromBmc.efi|*
+ DXE_DEPEX|GetInfoFromBmc.depex|*
new file mode 100644
@@ -0,0 +1,27 @@
+#/** @file
+#
+# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2016 - 2018, 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 = 0x0001001A
+ BASE_NAME = IoInitDxe
+ FILE_GUID = 92e003e6-ac08-4e7a-b7f5-1b1fe093e8ce
+ MODULE_TYPE = UEFI_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = IoInitDxeEntry
+
+[Binaries]
+ PE32|IoInitDxe.efi|*
+ DXE_DEPEX|IoInitDxe.depex|*
new file mode 100644
@@ -0,0 +1,28 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = IpmiInterfaceDxe
+ FILE_GUID = e848f65c-cb9f-449c-8943-65093180c794
+ MODULE_TYPE = DXE_DRIVER
+ VERSION_STRING = 1.0
+
+[Binaries.AARCH64]
+ PE32|IpmiInterfaceDxe.efi|*
+ DXE_DEPEX|IpmiInterfaceDxe.depex|*
+
+
new file mode 100644
@@ -0,0 +1,27 @@
+#/** @file
+#
+# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2016 - 2018, 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 = 0x0001001A
+ BASE_NAME = IpmiInterfacePei
+ FILE_GUID = 580502d5-f5a3-4e7b-9c70-65fbc3bcd368
+ MODULE_TYPE = PEIM
+ VERSION_STRING = 1.0
+ ENTRY_POINT = IpmiInterfacePeiEntry
+
+[Binaries.AARCH64]
+ TE|IpmiInterfacePei.efi|*
+ PEI_DEPEX|IpmiInterfacePei.depex|*
new file mode 100644
@@ -0,0 +1,27 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = IpmiMiscOp
+ FILE_GUID = 2769b929-2745-4ceb-bf57-b8b77afd889c
+ MODULE_TYPE = DXE_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = IpmiMiscOpEntry
+
+[Binaries.AARCH64]
+ PE32|IpmiMiscOp.efi|*
+ DXE_DEPEX|IpmiMiscOp.depex|*
new file mode 100644
@@ -0,0 +1,27 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = IpmiWatchdogDxe
+ FILE_GUID = 320df638-30ce-43a9-831b-752532b894df
+ MODULE_TYPE = DXE_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = InitializeWatchdogDxeEntry
+
+[Binaries.AARCH64]
+ PE32|IpmiWatchdogDxe.efi|*
+ DXE_DEPEX|IpmiWatchdogDxe.depex|*
new file mode 100644
@@ -0,0 +1,27 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = SnpPV600Dxe
+ FILE_GUID = da125140-6cf1-426f-807f-85e6962144ac
+ MODULE_TYPE = UEFI_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = InitializeSnpPV600Driver
+ UNLOAD_IMAGE = NetLibDefaultUnload
+
+[Binaries.AARCH64]
+ PE32|SnpPV600Dxe.efi
+
new file mode 100644
@@ -0,0 +1,26 @@
+## @file
+#
+# Component description file PCI Ras Init driver.
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = PcieRasInitDxe
+ FILE_GUID = f301927a-017a-4f63-b412-4e10f72395ed
+ MODULE_TYPE = DXE_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = InitializePcieRas
+
+[Binaries.AARCH64]
+ PE32|PcieRasInitDxe.efi|*
+ DXE_DEPEX|PcieRasInitDxe.depex|*
new file mode 100644
@@ -0,0 +1,25 @@
+## @file
+#
+# Component description file PCI Ras Init driver.
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = RasInitDxe
+ FILE_GUID = cb655a58-a090-429b-b324-3efa7a583546
+ MODULE_TYPE = DXE_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = RasInitEntry
+
+[Binaries.AARCH64]
+ PE32|RasInitDxe.efi|*
new file mode 100644
@@ -0,0 +1,27 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = SFCDriver
+ FILE_GUID = 5cfeb794-3e2b-4647-a24c-3a6cbc1fd9b6
+ MODULE_TYPE = DXE_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = SFCInitialize
+
+[Binaries.AARCH64]
+ PE32|SFCDriver.efi|*
+ DXE_DEPEX|SFCDriver.depex|*
+
new file mode 100644
@@ -0,0 +1,27 @@
+#/** @file
+#
+# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2016 - 2018, 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 = 0x0001001A
+ BASE_NAME = SasDriverDxe
+ FILE_GUID = 86791da8-ab4a-49c5-95b9-e850332aca81
+ MODULE_TYPE = UEFI_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = SasDriverInitialize
+
+[Binaries]
+ PE32|SasDriverDxe.efi|*
+ DXE_DEPEX|SasDriverDxe.depex
new file mode 100644
@@ -0,0 +1,32 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = SmiGraphicsOutput
+ FILE_GUID = 02b187e4-b6eb-4952-ba28-16c9af377a36
+ 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.AARCH64]
+ PE32|SmiGraphicsOutput.efi|*
+
new file mode 100644
@@ -0,0 +1,26 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = TransSmbiosInfo
+ FILE_GUID = 28b38fff-bd02-4e8b-b420-3baf10840a5f
+ MODULE_TYPE = DXE_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = TransferSmbiosInfoToBMC
+
+[Binaries.AARCH64]
+ PE32|TransSmbiosInfo.efi|*
+ DXE_DEPEX|TransSmbiosInfo.depex|*
new file mode 100644
@@ -0,0 +1,40 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = OemAddressMapD05
+ FILE_GUID = 64a05b8e-6e6d-4384-8c25-2e9720e1f9da
+ MODULE_TYPE = BASE
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = OemAddressMapLib
+
+
+[Binaries.AARCH64]
+ LIB|OemAddressMapD06.lib|*
+
+[Packages]
+ ArmPkg/ArmPkg.dec
+ MdeModulePkg/MdeModulePkg.dec
+ MdePkg/MdePkg.dec
+ Silicon/Hisilicon/HisiPkg.dec
+
+[LibraryClasses]
+ CpldIoLib
+
+[FixedPcd]
+ gHisiTokenSpaceGuid.PcdNORFlashBase
+
new file mode 100644
@@ -0,0 +1,28 @@
+#/** @file
+#
+# Copyright (c) 2011-2014, ARM Ltd. All rights reserved.<BR>
+# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved.<BR>
+# Copyright (c) 2016 - 2018, 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 = 0x0001001A
+ BASE_NAME = MemoryInit
+ FILE_GUID = bf4e76a5-75aa-4fc4-b211-71a30141f420
+ MODULE_TYPE = PEIM
+ VERSION_STRING = 1.0
+ ENTRY_POINT = InitializeMemory
+
+[Binaries.AARCH64]
+ TE|MemoryInit.efi|*
+ PEI_DEPEX|MemoryInit.depex
new file mode 100644
@@ -0,0 +1,43 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = Hi1620SerdesLib
+ FILE_GUID = 1deeae34-0534-48e4-88e4-564a66599d6a
+ MODULE_TYPE = BASE
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = SerdesLib
+
+[Binaries.common]
+ LIB|Hi1620SerdesLib.lib
+
+[Packages]
+ MdeModulePkg/MdeModulePkg.dec
+ MdePkg/MdePkg.dec
+ Silicon/Hisilicon/HisiPkg.dec
+
+[LibraryClasses]
+ BaseLib
+ BaseMemoryLib
+ DebugLib
+ IoLib
+ OemMiscLib
+ PlatformSysCtrlLib
+ TimerLib
+
+[FixedPcd]
+ gHisiTokenSpaceGuid.PcdIsMPBoot
+ gHisiTokenSpaceGuid.PcdSerDesFlowCtrlFlag
new file mode 100644
@@ -0,0 +1,39 @@
+#******************************************************************************
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = LpcLib
+ FILE_GUID = 17cf6de7-8ed6-4dcc-b408-7e0e8a9421d7
+ MODULE_TYPE = BASE
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = LpcLib
+
+[Binaries.AARCH64]
+ LIB|LpcLib.lib|*
+
+[Packages]
+ MdeModulePkg/MdeModulePkg.dec
+ MdePkg/MdePkg.dec
+ Silicon/Hisilicon/HisiPkg.dec
+
+[LibraryClasses]
+ ArmLib
+ BaseLib
+ DebugLib
+ IoLib
+ TimerLib
+ PlatformSysCtrlLib
new file mode 100644
@@ -0,0 +1,45 @@
+#/** @file
+#
+# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2018, 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 = 0x0001001A
+ BASE_NAME = PlatformSysCtrlLibHi1620
+ FILE_GUID = 26db9c9f-0e58-4fb6-969d-3e83e9e82b05
+ MODULE_TYPE = BASE
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = PlatformSysCtrlLib
+
+[Binaries.AARCH64]
+ LIB|PlatformSysCtrlLibHi1620.lib|*
+
+[Packages]
+ ArmPkg/ArmPkg.dec
+ ArmPlatformPkg/ArmPlatformPkg.dec
+ MdeModulePkg/MdeModulePkg.dec
+ MdePkg/MdePkg.dec
+ Silicon/Hisilicon/HisiPkg.dec
+
+[LibraryClasses]
+ ArmLib
+ IoLib
+ LpcLib
+ OemAddressMapLib
+ OemMiscLib
+ PcdLib
+
+[FixedPcd]
+ gArmPlatformTokenSpaceGuid.PcdCoreCount
+ gHisiTokenSpaceGuid.PcdPlatformDefaultPackageType
+ gHisiTokenSpaceGuid.PcdTrustedFirmwareEnable