diff options
| author | Heinrich Schuchardt <[email protected]> | 2025-10-31 20:52:53 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-11-06 08:30:33 -0600 |
| commit | b790f31752d7650d5f557509f17b1396f0cc1f70 (patch) | |
| tree | d9f52ff5c505d3b1e405bd8a521ccf5412371a4c /include | |
| parent | 59f6025e5a6e46c9cf8b94cd6958bae78cd15d13 (diff) | |
acpi: use U-Boot ACPI vendor ID
The U-Boot project has been assigned the vendor ID 'UBOO' [1]. Use this
vendor ID and our release version in the ACPI table headers.
[1] ACPI ID Registry
https://uefi.org/ACPI_ID_List
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acpi_table.h | 20 |
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([email protected]): 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 |
