diff mbox

[Linaro-uefi,07/28] Platform/D02: Update ACPI table header

Message ID 1479122995-50330-8-git-send-email-heyi.guo@linaro.org
State Superseded
Headers show

Commit Message

gary guo Nov. 14, 2016, 11:29 a.m. UTC
Set all ACPI tables' ID as below:

EFI_ACPI_ARM_OEM_ID           HISI
EFI_ACPI_ARM_OEM_TABLE_ID     HISI0660
EFI_ACPI_ARM_OEM_REVISION     0x00000000
EFI_ACPI_ARM_CREATOR_ID       INTL
EFI_ACPI_ARM_CREATOR_REVISION 0x20151124

Note that D02 SATASSDT/SASSSDT tables are not updated because we need
different SSDT OEM TABLE ID uesed for UninstallACPI driver

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chenhui Sun <sunchenhui@huawei.com>
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
---
 Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl   | 2 +-
 Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl        | 6 +++---
 Chips/Hisilicon/Pv660/Pv660AcpiTables/Pv660Platform.h | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

Comments

Graeme Gregory Nov. 16, 2016, 10:29 a.m. UTC | #1
On Mon, Nov 14, 2016 at 07:29:34PM +0800, Heyi Guo wrote:
> Set all ACPI tables' ID as below:
> 
> EFI_ACPI_ARM_OEM_ID           HISI
> EFI_ACPI_ARM_OEM_TABLE_ID     HISI0660
> EFI_ACPI_ARM_OEM_REVISION     0x00000000
> EFI_ACPI_ARM_CREATOR_ID       INTL
> EFI_ACPI_ARM_CREATOR_REVISION 0x20151124
> 
> Note that D02 SATASSDT/SASSSDT tables are not updated because we need
> different SSDT OEM TABLE ID uesed for UninstallACPI driver
> 

Review-by: Graeme Gregory <graeme.gregory@linaro.org>

> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Chenhui Sun <sunchenhui@huawei.com>
> Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
> ---
>  Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl   | 2 +-
>  Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl        | 6 +++---
>  Chips/Hisilicon/Pv660/Pv660AcpiTables/Pv660Platform.h | 8 ++++----
>  3 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl
> index ce5a085..f156e1b 100644
> --- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl
> +++ b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl
> @@ -18,7 +18,7 @@
>  
>  #include "Pv660Platform.h"
>  
> -DefinitionBlock("DsdtTable.aml", "DSDT", 1, "HISI", "HISI-D02", EFI_ACPI_ARM_OEM_REVISION) {
> +DefinitionBlock("DsdtTable.aml", "DSDT", 1, "HISI", "HISI0660", EFI_ACPI_ARM_OEM_REVISION) {
>    include ("Mbig.asl")
>    include ("CPU.asl")
>    include ("Com.asl")
> diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl
> index 44056b5..9ba3d55 100644
> --- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl
> +++ b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl
> @@ -10,11 +10,11 @@
>  [0004]                       Table Length : 0000010C
>  [0001]                           Revision : 00
>  [0001]                           Checksum : BC
> -[0006]                             Oem ID : "INTEL "
> -[0008]                       Oem Table ID : "TEMPLATE"
> +[0006]                             Oem ID : "HISI  "
> +[0008]                       Oem Table ID : "HISI0660"
>  [0004]                       Oem Revision : 00000000
>  [0004]                    Asl Compiler ID : "INTL"
> -[0004]              Asl Compiler Revision : 20150410
> +[0004]              Asl Compiler Revision : 20151124
>  
>  [0004]                         Node Count : 0000000A
>  [0004]                        Node Offset : 00000034
> diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Pv660Platform.h b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Pv660Platform.h
> index 5af8f1a..3d69d96 100644
> --- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Pv660Platform.h
> +++ b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Pv660Platform.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','0','6','6','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.
> -- 
> 1.9.1
>
diff mbox

Patch

diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl
index ce5a085..f156e1b 100644
--- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl
+++ b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl
@@ -18,7 +18,7 @@ 
 
 #include "Pv660Platform.h"
 
-DefinitionBlock("DsdtTable.aml", "DSDT", 1, "HISI", "HISI-D02", EFI_ACPI_ARM_OEM_REVISION) {
+DefinitionBlock("DsdtTable.aml", "DSDT", 1, "HISI", "HISI0660", EFI_ACPI_ARM_OEM_REVISION) {
   include ("Mbig.asl")
   include ("CPU.asl")
   include ("Com.asl")
diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl
index 44056b5..9ba3d55 100644
--- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl
+++ b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl
@@ -10,11 +10,11 @@ 
 [0004]                       Table Length : 0000010C
 [0001]                           Revision : 00
 [0001]                           Checksum : BC
-[0006]                             Oem ID : "INTEL "
-[0008]                       Oem Table ID : "TEMPLATE"
+[0006]                             Oem ID : "HISI  "
+[0008]                       Oem Table ID : "HISI0660"
 [0004]                       Oem Revision : 00000000
 [0004]                    Asl Compiler ID : "INTL"
-[0004]              Asl Compiler Revision : 20150410
+[0004]              Asl Compiler Revision : 20151124
 
 [0004]                         Node Count : 0000000A
 [0004]                        Node Offset : 00000034
diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Pv660Platform.h b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Pv660Platform.h
index 5af8f1a..3d69d96 100644
--- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Pv660Platform.h
+++ b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Pv660Platform.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','0','6','6','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.