summaryrefslogtreecommitdiff
path: root/include/acpi/acpi_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/acpi_table.h')
-rw-r--r--include/acpi/acpi_table.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h
index 05b6385544e..4895366a618 100644
--- a/include/acpi/acpi_table.h
+++ b/include/acpi/acpi_table.h
@@ -13,15 +13,29 @@
#ifndef __ACPI_TABLE_H__
#define __ACPI_TABLE_H__
+#include <version.h>
#include <dm/acpi.h>
#define RSDP_SIG "RSD PTR " /* RSDP pointer signature */
#define OEM_ID "U-BOOT" /* U-Boot */
#define OEM_TABLE_ID "U-BOOTBL" /* U-Boot Table */
-#define ASLC_ID "INTL" /* Intel ASL Compiler */
-/* TODO(sjg@chromium.org): Figure out how to get compiler revision */
-#define ASL_REVISION 0
+/**
+ * define ACPI_CREATOR_ID - ACPI creator ID
+ *
+ * This is the ACPI assigned vendor ID for the U-Boot project.
+ * It is used in the ACPI tables created by U-Boot.
+ */
+#define ACPI_CREATOR_ID "UBOO"
+
+/**
+ * define ACPI_CREATOR_REVISION - ACPI creator ID
+ *
+ * This encodes the U-Boot version.
+ * It is used in the ACPI tables created by U-Boot.
+ */
+#define ACPI_CREATOR_REVISION \
+ (U_BOOT_VERSION_NUM << 4 | U_BOOT_VERSION_NUM_PATCH)
#define ACPI_RSDP_REV_ACPI_1_0 0
#define ACPI_RSDP_REV_ACPI_2_0 2