From: Andy Shevchenko Date: Fri, 21 Jul 2017 19:32:02 +0000 (+0300) Subject: x86: acpi: Fill OEM revision X-Git-Tag: v2017.09-rc1~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=684c4cd01125926ac6d9e0855b8f712e3b344afd;p=u-boot x86: acpi: Fill OEM revision Fill OEM revision field in the tables by U-Boot build date. Signed-off-by: Andy Shevchenko Reviewed-by: Bin Meng --- diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c index 01d5b6fff0..c6f4d8941c 100644 --- a/arch/x86/lib/acpi_table.c +++ b/arch/x86/lib/acpi_table.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -60,6 +61,7 @@ void acpi_fill_header(struct acpi_table_header *header, char *signature) memcpy(header->signature, signature, 4); memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, OEM_TABLE_ID, 8); + header->oem_revision = U_BOOT_BUILD_DATE; memcpy(header->aslc_id, ASLC_ID, 4); }