diff options
author | Pali Rohár <pali@kernel.org> | 2021-07-10 13:10:01 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-06 09:15:14 -0400 |
commit | a3423b3f2341e45b56c78e5bc70b2e63dd7583e0 (patch) | |
tree | 01b2deff4874d5966e5c74643e5986d071eb8b9c /doc | |
parent | 7240e1b8f94a56db88a2af688cad27e2e6545302 (diff) | |
download | u-boot-a3423b3f2341e45b56c78e5bc70b2e63dd7583e0.tar.gz u-boot-a3423b3f2341e45b56c78e5bc70b2e63dd7583e0.tar.bz2 u-boot-a3423b3f2341e45b56c78e5bc70b2e63dd7583e0.zip |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/develop/version.rst | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/develop/version.rst b/doc/develop/version.rst index 8f3231b761..5c9046aa17 100644 --- a/doc/develop/version.rst +++ b/doc/develop/version.rst @@ -87,7 +87,6 @@ fields. For example:: #define U_BOOT_DATE "Jan 06 2021" (US format only) #define U_BOOT_TIME "08:50:36" (24-hour clock) #define U_BOOT_TZ "-0700" (Time zone in hours) - #define U_BOOT_BUILD_DATE 0x20210106 (hex yyyymmdd format) #define U_BOOT_EPOCH 1609948236 The Epoch is the number of seconds since midnight on 1/1/70. You can convert |