From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-0014ca01.pphosted.com (mx0b-0014ca01.pphosted.com [208.86.201.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7EFF421C8F634 for ; Thu, 22 Jun 2017 02:31:02 -0700 (PDT) Received: from pps.filterd (m0042333.ppops.net [127.0.0.1]) by mx0b-0014ca01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v5M9SHvu005689; Thu, 22 Jun 2017 02:32:22 -0700 Received: from mx-sanjose.cadence.com (mx-sanjose.Cadence.COM [158.140.2.60]) by mx0b-0014ca01.pphosted.com with ESMTP id 2b89nr8jg2-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 22 Jun 2017 02:32:22 -0700 Received: from maileu3.global.cadence.com (maileu3.Cadence.COM [10.160.88.99]) by mx-sanjose.cadence.com (8.14.4/8.14.4) with ESMTP id v5M9VLEE025554 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 22 Jun 2017 02:31:23 -0700 (PDT) X-CrossPremisesHeadersFilteredBySendConnector: maileu3.global.cadence.com Received: from maileu3.global.cadence.com (10.160.88.99) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Thu, 22 Jun 2017 11:32:13 +0200 Received: from lvloginb.cadence.com (10.165.177.11) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1044.25 via Frontend Transport; Thu, 22 Jun 2017 11:32:12 +0200 Received: from lvloginb.cadence.com (localhost [127.0.0.1]) by lvloginb.cadence.com (8.14.4/8.14.4) with ESMTP id v5M9WCEN009509; Thu, 22 Jun 2017 10:32:12 +0100 Received: (from stelford@localhost) by lvloginb.cadence.com (8.14.4/8.14.4/Submit) id v5M9WB3m009502; Thu, 22 Jun 2017 10:32:11 +0100 From: Scott Telford To: , , , , , Date: Thu, 22 Jun 2017 10:31:55 +0100 Message-ID: <1498123921-4638-1-git-send-email-stelford@cadence.com> X-Mailer: git-send-email 2.2.2 MIME-Version: 1.0 X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-Received: by mx-sanjose.cadence.com as v5M9VLEE025554 at Thu Jun 22 02:31:23 2017 Subject: [staging/cadence-aarch64 PATCH v3 0/6] CadencePkg: Add package for Cadence hardware IP support. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2017 09:31:02 -0000 Content-Type: text/plain Revised patchset following comments from Leif and Ard. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Telford Scott Telford (6): CadencePkg: Add libraries for Cadence CSP platform. CadencePkg: Add library for Cadence UART. CadencePkg: Add PCI host bridge library for Cadence PCIe Root Complex. CadencePkg: Add SEC phase implementation for Cadence CSP platform. CadencePkg: Add ACPI tables for Cadence CSP platform. CadencePkg: Add .dsc, .fdf and .dec files for Cadence CSP platform. CadencePkg/AcpiTables/AcpiTables.inf | 50 ++ CadencePkg/AcpiTables/CspPlatform.h | 46 ++ CadencePkg/AcpiTables/Dsdt.asl | 307 ++++++++++ CadencePkg/AcpiTables/Fadt.aslc | 87 +++ CadencePkg/AcpiTables/Gtdt.aslc | 80 +++ CadencePkg/AcpiTables/Madt.aslc | 71 +++ CadencePkg/AcpiTables/Mcfg.aslc | 76 +++ CadencePkg/CadenceCsp.dsc | 672 +++++++++++++++++++++ CadencePkg/CadenceCsp.fdf | 412 +++++++++++++ CadencePkg/CadenceCspPkg.dec | 55 ++ CadencePkg/Include/Library/CspSerialPortLib.h | 86 +++ CadencePkg/Include/Library/CspSysReg.h | 37 ++ .../CadenceCspLib/AArch64/ArmPlatformHelper.S | 55 ++ CadencePkg/Library/CadenceCspLib/CadenceCspLib.c | 133 ++++ CadencePkg/Library/CadenceCspLib/CadenceCspLib.inf | 68 +++ .../Library/CadenceCspLib/CadenceCspLibMem.c | 116 ++++ .../Library/CadenceCspLib/CadenceCspLibSec.inf | 52 ++ .../CadenceCspResetSystemLib.c | 82 +++ .../CadenceCspResetSystemLib.inf | 40 ++ .../Library/CadenceCspSecLib/AArch64/CspBoot.S | 49 ++ .../Library/CadenceCspSecLib/AArch64/GicV3.S | 67 ++ .../Library/CadenceCspSecLib/CadenceCspSecLib.inf | 44 ++ CadencePkg/Library/CadenceCspSecLib/CspSec.c | 79 +++ .../CadenceCspSerialPortLib/CspSerialPortLib.c | 523 ++++++++++++++++ .../CadenceCspSerialPortLib/CspSerialPortLib.inf | 52 ++ .../CadenceCspSerialPortLib/CspSerialPortLib.uni | Bin 0 -> 1622 bytes .../Library/CadencePciHostBridgeLib/CdnsPci.c | 149 +++++ .../Library/CadencePciHostBridgeLib/CdnsPci.h | 88 +++ .../CadencePciHostBridgeLib/CdnsPciHostBridgeLib.c | 188 ++++++ .../CdnsPciHostBridgeLib.inf | 73 +++ CadencePkg/Sec/AArch64/Arch.c | 25 + CadencePkg/Sec/AArch64/ArmCortexA5xHelper.S | 27 + CadencePkg/Sec/AArch64/Helper.S | 93 +++ CadencePkg/Sec/AArch64/SecEntryPoint.S | 139 +++++ CadencePkg/Sec/Sec.c | 335 ++++++++++ CadencePkg/Sec/Sec.inf | 85 +++ CadencePkg/Sec/SecInternal.h | 105 ++++ 37 files changed, 4646 insertions(+) create mode 100644 CadencePkg/AcpiTables/AcpiTables.inf create mode 100644 CadencePkg/AcpiTables/CspPlatform.h create mode 100644 CadencePkg/AcpiTables/Dsdt.asl create mode 100644 CadencePkg/AcpiTables/Fadt.aslc create mode 100644 CadencePkg/AcpiTables/Gtdt.aslc create mode 100644 CadencePkg/AcpiTables/Madt.aslc create mode 100644 CadencePkg/AcpiTables/Mcfg.aslc create mode 100644 CadencePkg/CadenceCsp.dsc create mode 100644 CadencePkg/CadenceCsp.fdf create mode 100644 CadencePkg/CadenceCspPkg.dec create mode 100644 CadencePkg/Include/Library/CspSerialPortLib.h create mode 100644 CadencePkg/Include/Library/CspSysReg.h create mode 100644 CadencePkg/Library/CadenceCspLib/AArch64/ArmPlatformHelper.S create mode 100644 CadencePkg/Library/CadenceCspLib/CadenceCspLib.c create mode 100644 CadencePkg/Library/CadenceCspLib/CadenceCspLib.inf create mode 100644 CadencePkg/Library/CadenceCspLib/CadenceCspLibMem.c create mode 100644 CadencePkg/Library/CadenceCspLib/CadenceCspLibSec.inf create mode 100644 CadencePkg/Library/CadenceCspResetSystemLib/CadenceCspResetSystemLib.c create mode 100644 CadencePkg/Library/CadenceCspResetSystemLib/CadenceCspResetSystemLib.inf create mode 100644 CadencePkg/Library/CadenceCspSecLib/AArch64/CspBoot.S create mode 100644 CadencePkg/Library/CadenceCspSecLib/AArch64/GicV3.S create mode 100644 CadencePkg/Library/CadenceCspSecLib/CadenceCspSecLib.inf create mode 100644 CadencePkg/Library/CadenceCspSecLib/CspSec.c create mode 100644 CadencePkg/Library/CadenceCspSerialPortLib/CspSerialPortLib.c create mode 100644 CadencePkg/Library/CadenceCspSerialPortLib/CspSerialPortLib.inf create mode 100644 CadencePkg/Library/CadenceCspSerialPortLib/CspSerialPortLib.uni create mode 100644 CadencePkg/Library/CadencePciHostBridgeLib/CdnsPci.c create mode 100644 CadencePkg/Library/CadencePciHostBridgeLib/CdnsPci.h create mode 100644 CadencePkg/Library/CadencePciHostBridgeLib/CdnsPciHostBridgeLib.c create mode 100644 CadencePkg/Library/CadencePciHostBridgeLib/CdnsPciHostBridgeLib.inf create mode 100644 CadencePkg/Sec/AArch64/Arch.c create mode 100644 CadencePkg/Sec/AArch64/ArmCortexA5xHelper.S create mode 100644 CadencePkg/Sec/AArch64/Helper.S create mode 100644 CadencePkg/Sec/AArch64/SecEntryPoint.S create mode 100644 CadencePkg/Sec/Sec.c create mode 100644 CadencePkg/Sec/Sec.inf create mode 100644 CadencePkg/Sec/SecInternal.h -- 2.2.2