[PATCH] acpi: Use U-Boot version for OEM_REVISION
Simon Glass
sjg at chromium.org
Tue Jul 20 20:32:46 CEST 2021
On Sat, 10 Jul 2021 at 05:10, Pali Rohár <pali at kernel.org> wrote:
>
> 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 at kernel.org>
> ---
> This patch depends on similar patch for BIOS Release Date which is here:
> http://patchwork.ozlabs.org/project/uboot/patch/20210422160957.26936-1-pali@kernel.org/
> ---
> Makefile | 2 --
> doc/develop/version.rst | 1 -
> lib/acpi/acpi_table.c | 18 +++++++++++++++++-
> test/dm/acpi.c | 20 ++++++++++++++------
> 4 files changed, 31 insertions(+), 10 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list