projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7aa9c2
)
x86: acpi: Fill OEM revision
author
Andy Shevchenko
<
[email protected]
>
Fri, 21 Jul 2017 19:32:02 +0000
(22:32 +0300)
committer
Bin Meng
<
[email protected]
>
Sun, 30 Jul 2017 02:30:25 +0000
(10:30 +0800)
Fill OEM revision field in the tables by U-Boot build date.
Signed-off-by: Andy Shevchenko <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
arch/x86/lib/acpi_table.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/acpi_table.c
b/arch/x86/lib/acpi_table.c
index 01d5b6fff09329bf6a741d50a1e4fcde1d7f7a20..c6f4d8941c911c1b61811891e4e3dad96839a9c1 100644
(file)
--- a/
arch/x86/lib/acpi_table.c
+++ b/
arch/x86/lib/acpi_table.c
@@
-11,6
+11,7
@@
#include <cpu.h>
#include <dm.h>
#include <dm/uclass-internal.h>
+#include <version.h>
#include <asm/acpi/global_nvs.h>
#include <asm/acpi_table.h>
#include <asm/io.h>
@@
-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);
}