From patchwork Thu Jul 28 03:13:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 72920 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp624287qga; Wed, 27 Jul 2016 20:18:09 -0700 (PDT) X-Received: by 10.200.46.216 with SMTP id i24mr52588463qta.79.1469675889486; Wed, 27 Jul 2016 20:18:09 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p51si6573790qta.103.2016.07.27.20.18.09; Wed, 27 Jul 2016 20:18:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 3521A67468; Thu, 28 Jul 2016 03:18:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 00DFF68506; Thu, 28 Jul 2016 03:15:23 +0000 (UTC) X-Original-To: Linaro-uefi@lists.linaro.org Delivered-To: Linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id ACEF468478; Thu, 28 Jul 2016 03:14:43 +0000 (UTC) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by lists.linaro.org (Postfix) with ESMTPS id 15FDC68478 for ; Thu, 28 Jul 2016 03:14:37 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id ks6so16290776pab.0 for ; Wed, 27 Jul 2016 20:14:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wytpKMVgSb698HvhFx2c81ct3SMc9W/yRw1VdFEsYrY=; b=LGCAuXVH++ZnsNK3RYJL3AL/crxclX9dKQpxkVd5NpykHHTTQcRW6KiPYPPbLL5JyD 0EBiNxWZvC5nvvg32hOnHl2ZOrajKg/fhZj78uJltxLAGmnOOtpSCRJDqrTdgAtf9LXS BsuJ2zVJANARuQ1WNvFerNSCHExS5IvgaZt+niQ9zkJtm6BQkCpMQyjJkD93OnRSxUq2 h5HnPhmoDZOsTA0d6ICGrOXWCaF95ziYMSKFdgq2JpVuSlrxypqB1OpgZqosrhnIE2do bej2LVInNxGOXKmhle8W3KZ1MjYWofpJDhKtRbWvZs8A3GTg1GjwdCejoR3WHiB8GPXj 0JaA== X-Gm-Message-State: AEkoousJPdj4UmMa5e5PnHkZkYC393sNJZVSUdK7fM3pHeWxFBdDMgXe5b/1BMxhWb/ZrnAHF7s= X-Received: by 10.66.246.134 with SMTP id xw6mr55194664pac.35.1469675676320; Wed, 27 Jul 2016 20:14:36 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.232]) by smtp.gmail.com with ESMTPSA id d3sm12339246pfk.37.2016.07.27.20.14.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jul 2016 20:14:35 -0700 (PDT) From: Heyi Guo To: Linaro-uefi@lists.linaro.org Date: Thu, 28 Jul 2016 11:13:25 +0800 Message-Id: <1469675605-14588-9-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1469675605-14588-1-git-send-email-heyi.guo@linaro.org> References: <1469675605-14588-1-git-send-email-heyi.guo@linaro.org> Cc: Chenhui Sun Subject: [Linaro-uefi] [PATCH 9/9] Chips/Hi1610: Unify ACPI table header X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" ACPI spec suggests to have CREATOR_ID and CREATOR_REVISION to indicate ASL compiler information. OEM_ID, OEM_TABLE_ID and OEM_REVISION are sometimes used for OS quirks. So we unify fields of ACPI table header for Hi1610 as below: OEM_ID HISI OEM_TABLE_ID HISI1610 OEM_REVISION 0x00000000 CREATOR_ID INTL CREATOR_REVISION 0x20151124 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chenhui Sun Signed-off-by: Heyi Guo --- Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl | 4 ++-- Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/DsdtHi1610.asl | 2 +- Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Hi1610Platform.h | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl b/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl index 07660df..e02b4d5 100644 --- a/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl +++ b/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl @@ -11,10 +11,10 @@ [0001] Revision : 00 [0001] Checksum : BC [0006] Oem ID : "HISI " -[0008] Oem Table ID : "D03" +[0008] Oem Table ID : "HISI1610" [0004] Oem Revision : 00000000 [0004] Asl Compiler ID : "INTL" -[0004] Asl Compiler Revision : 20150410 +[0004] Asl Compiler Revision : 20151124 [0004] Node Count : 00000008 [0004] Node Offset : 00000034 diff --git a/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/DsdtHi1610.asl b/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/DsdtHi1610.asl index 474d493..ca8b2dc 100644 --- a/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/DsdtHi1610.asl +++ b/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/DsdtHi1610.asl @@ -18,7 +18,7 @@ #include "Hi1610Platform.h" -DefinitionBlock("DsdtTable.aml", "DSDT", 1, "HISI", "HISI-EVB", EFI_ACPI_ARM_OEM_REVISION) { +DefinitionBlock("DsdtTable.aml", "DSDT", 1, "HISI", "HISI1610", EFI_ACPI_ARM_OEM_REVISION) { include ("Lpc.asl") include ("D03Mbig.asl") include ("CPU.asl") diff --git a/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Hi1610Platform.h b/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Hi1610Platform.h index 37ec5f0..e8a1577 100644 --- a/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Hi1610Platform.h +++ b/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Hi1610Platform.h @@ -24,10 +24,10 @@ // ACPI table information used to initialize tables. // #define EFI_ACPI_ARM_OEM_ID 'H','I','S','I' // OEMID 6 bytes long -#define EFI_ACPI_ARM_OEM_TABLE_ID SIGNATURE_64('H','I','S','I','-','D','0','2') // OEM table id 8 bytes long -#define EFI_ACPI_ARM_OEM_REVISION 0x20140727 -#define EFI_ACPI_ARM_CREATOR_ID SIGNATURE_32('H','I','S','I') -#define EFI_ACPI_ARM_CREATOR_REVISION 0x00000099 +#define EFI_ACPI_ARM_OEM_TABLE_ID SIGNATURE_64('H','I','S','I','1','6','1','0') // OEM table id 8 bytes long +#define EFI_ACPI_ARM_OEM_REVISION 0x00000000 +#define EFI_ACPI_ARM_CREATOR_ID SIGNATURE_32('I','N','T','L') +#define EFI_ACPI_ARM_CREATOR_REVISION 0x20151124 // A macro to initialise the common header part of EFI ACPI tables as defined by // EFI_ACPI_DESCRIPTION_HEADER structure.