smbios: Set BIOS release version
authorSimon Glass <sjg@chromium.org>
Fri, 5 Feb 2021 04:17:16 +0000 (21:17 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sat, 6 Feb 2021 11:18:41 +0000 (19:18 +0800)
commit7617f996e6a83672fd7289103fe3fc52ff10007e
tree8d1afda7ba4e5497319c6d0ddcbd3f80152dc9cd
parentdc090586a0257699a497290bbc85588abc773bc2
smbios: Set BIOS release version

We may as well include the U-Boot release information in the type-0 table
since it is designed for that purpose.

U-Boot uses release versions based on the year and month. The year cannot
fit in a byte, so drop the century.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
lib/smbios.c