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 21A6E21188C53 for ; Fri, 2 Nov 2018 09:37:37 -0700 (PDT) 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 806DFA78; Fri, 2 Nov 2018 09:37:37 -0700 (PDT) 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 3694E3F718; Fri, 2 Nov 2018 09:37:35 -0700 (PDT) From: Chandni Cherukuri To: edk2-devel@lists.01.org Date: Fri, 2 Nov 2018 22:06:53 +0530 Message-Id: <1541176613-2539-6-git-send-email-chandni.cherukuri@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541176613-2539-1-git-send-email-chandni.cherukuri@arm.com> References: <1541176613-2539-1-git-send-email-chandni.cherukuri@arm.com> Subject: [PATCH edk2-platforms 5/5] Platform/ARM/Sgi: Add platform support for SGI-Clark.Helios 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: Fri, 02 Nov 2018 16:37:38 -0000 Platform support for SGI-Clark.Helios platform has been added. Change-Id: Iaf7962334b6366d35a195e4c94341d1972783a81 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chandni Cherukuri --- Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c | 3 +++ Platform/ARM/SgiPkg/Include/SgiPlatform.h | 1 + 2 files changed, 4 insertions(+) diff --git a/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c b/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c index 1c56f65..cf085f8 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_CLARKA_CONF_NUM)) { Status = LocateAndInstallAcpiFromFv (&gSgiClarkAresAcpiTablesFileGuid); + } else if ((PartNum == SGI_CLARK_PART_NUM) && + (ConfigId == SGI_CLARKH_CONF_NUM)) { + Status = LocateAndInstallAcpiFromFv (&gSgiClarkHeliosAcpiTablesFileGuid); } else { Status = EFI_UNSUPPORTED; } diff --git a/Platform/ARM/SgiPkg/Include/SgiPlatform.h b/Platform/ARM/SgiPkg/Include/SgiPlatform.h index b84709e..7b0bb4a 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_CLARKA_CONF_NUM 0x1 +#define SGI_CLARKH_CONF_NUM 0x2 #define SGI_CONFIG_MASK 0x0F #define SGI_CONFIG_SHIFT 0x1C -- 2.7.4