acpi: Use U-Boot version for OEM_REVISION
authorPali Rohár <pali@kernel.org>
Sat, 10 Jul 2021 11:10:01 +0000 (13:10 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 6 Oct 2021 13:15:14 +0000 (09:15 -0400)
commita3423b3f2341e45b56c78e5bc70b2e63dd7583e0
tree01b2deff4874d5966e5c74643e5986d071eb8b9c
parent7240e1b8f94a56db88a2af688cad27e2e6545302
acpi: Use U-Boot version for OEM_REVISION

OEM_REVISION is 32-bit unsigned number. It should be increased only when
changing software version. Therefore it should not depend on build time.

Change calculation to use U-Boot version numbers and set this revision
to date number.

Prior this change OEM_REVISION was calculated from build date and stored in
the same format.

After this change macro U_BOOT_BUILD_DATE is not used in other files so
remove it from global autogenerated files and also from Makefile.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile
doc/develop/version.rst
lib/acpi/acpi_table.c
test/dm/acpi.c