u-boot/doc/develop
Pali Rohár 11275e4f72 smbios: Fix calculating BIOS Release Date
BIOS Release Date must be in format mm/dd/yyyy and must be release date.
U-Boot currently sets BIOS Release Date from U_BOOT_DMI_DATE macro which is
generated from current build timestamp.

Fix this issue by setting U_BOOT_DMI_DATE macro to U-Boot version which is
better approximation of U-Boot release date than current build timestamp.
Current U-Boot versioning is in format yyyy.mm so as a day choose 01.

Some operating systems are using BIOS Release Date for detecting when was
SMBIOS table filled or if it could support some feature (e.g. BIOS from
1990 cannot support features invented in 2000). So this change also ensures
that recompiling U-Boot from same sources but in different year does not
change behavior of some operating systems.

Macro U_BOOT_DMI_DATE is not used in other file than lib/smbios.c
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>
2021-07-24 10:49:51 +02:00
..
driver-model dtoc: Update documentation to cover warnings in more detail 2021-07-21 10:27:34 -06:00
package binman: Update various pieces of the documentation 2021-03-26 17:03:10 +13:00
uefi doc: Update CapsuleUpdate READMEs 2021-07-18 14:43:56 +02:00
coccinelle.rst doc: Coccinelle: move to HTML doc 2020-07-17 08:45:29 -04:00
commands.rst doc: move README.commands to HTML doc 2020-12-15 09:32:15 +01:00
crash_dumps.rst doc: correct description of crash dumps 2020-07-17 10:47:19 -04:00
global_data.rst doc: global data pointer on x86, x86_64 2020-12-15 09:31:26 +01:00
index.rst doc: Bring in Makefile documentation 2021-07-24 10:49:51 +02:00
logging.rst log: Convert log values to printf() if not enabled 2021-06-08 11:39:09 -04:00
makefiles.rst doc: Bring in Makefile documentation 2021-07-24 10:49:51 +02:00
menus.rst doc: move README.menu to HTML documentation 2021-01-23 09:53:46 -05:00
py_testing.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
testing.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
tests_sandbox.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
tests_writing.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
trace.rst doc: move README.trace to HTML documentation 2020-12-15 09:37:24 +01:00
version.rst smbios: Fix calculating BIOS Release Date 2021-07-24 10:49:51 +02:00