From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.101.70; helo=foss.arm.com; envelope-from=chandni.cherukuri@arm.com; receiver=edk2-devel@lists.01.org Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by ml01.01.org (Postfix) with ESMTP id E8F9321B02822 for ; Wed, 21 Nov 2018 04:45:28 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C01AD353C; Wed, 21 Nov 2018 04:45:28 -0800 (PST) Received: from usa.arm.com (a73437-lin.blr.arm.com [10.162.0.155]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 71C263F5A0; Wed, 21 Nov 2018 04:45:27 -0800 (PST) From: Chandni Cherukuri To: edk2-devel@lists.01.org Date: Wed, 21 Nov 2018 18:14:57 +0530 Message-Id: <1542804297-31957-7-git-send-email-chandni.cherukuri@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542804297-31957-1-git-send-email-chandni.cherukuri@arm.com> References: <1542804297-31957-1-git-send-email-chandni.cherukuri@arm.com> Subject: [PATCH v3 edk2-platforms 6/6] Platform/ARM/Sgi: Add initial support for SGI-Clark.Helios platform X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 12:45:29 -0000 Add the initial support for ARM's System Guidance for Infrastructure SGI-Clark.Helios platform. The ACPI tables for this platform are installed. Cc: Ard Biesheuvel Cc: Leif Lindholm Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chandni Cherukuri --- Platform/ARM/SgiPkg/Include/SgiPlatform.h | 1 + Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Platform/ARM/SgiPkg/Include/SgiPlatform.h b/Platform/ARM/SgiPkg/Include/SgiPlatform.h index 46f35e8..5501895 100644 --- a/Platform/ARM/SgiPkg/Include/SgiPlatform.h +++ b/Platform/ARM/SgiPkg/Include/SgiPlatform.h @@ -75,6 +75,7 @@ //SGI-Clark Platform Identification values #define SGI_CLARK_PART_NUM 0x786 #define SGI_CLARK_CONF_ARES 0x1 +#define SGI_CLARK_CONF_HELIOS 0x2 #define SGI_CONFIG_MASK 0x0F #define SGI_CONFIG_SHIFT 0x1C diff --git a/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c b/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c index 164151a..a8708a5 100644 --- a/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c +++ b/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c @@ -51,6 +51,9 @@ ArmSgiPkgEntryPoint ( } else if ((PartNum == SGI_CLARK_PART_NUM) && (ConfigId == SGI_CLARK_CONF_ARES)) { Status = LocateAndInstallAcpiFromFv (&gSgiClarkAresAcpiTablesFileGuid); + } else if ((PartNum == SGI_CLARK_PART_NUM) && + (ConfigId == SGI_CLARK_CONF_HELIOS)) { + Status = LocateAndInstallAcpiFromFv (&gSgiClarkHeliosAcpiTablesFileGuid); } else { Status = EFI_UNSUPPORTED; } -- 2.7.4