From c072e794e62433d75369b50c7e9c90c50e47ba89 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 21 May 2020 00:28:08 +0200 Subject: AGESA f14/f15tn/f16kb: Factor out AGESA_VERSION_STRING We use the same AGESA version numbers on all but one mainboard, so we might as well factor them out. The only exception is asrock/e350m1, which has the f15tn/f16kb version number even though it actually uses AGESA f14. To preserve reproducibility, do not change it in this commit. TEST=Use abuild --timeless to check that all AGESA f14/f15tn/f16kb mainboards result in identical coreboot binaries. Change-Id: I0dad2352ccda454d5545f17228d52e4ff4f23f20 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/41591 Reviewed-by: Mike Banon Tested-by: build bot (Jenkins) --- src/vendorcode/amd/agesa/f14/AGESA.h | 6 ++++++ src/vendorcode/amd/agesa/f15tn/AGESA.h | 6 ++++++ src/vendorcode/amd/agesa/f16kb/AGESA.h | 6 ++++++ 3 files changed, 18 insertions(+) (limited to 'src/vendorcode/amd/agesa') diff --git a/src/vendorcode/amd/agesa/f14/AGESA.h b/src/vendorcode/amd/agesa/f14/AGESA.h index 6d4cd7bee6..047b0371f2 100644 --- a/src/vendorcode/amd/agesa/f14/AGESA.h +++ b/src/vendorcode/amd/agesa/f14/AGESA.h @@ -53,6 +53,12 @@ */ #define AGESA_PACKAGE_STRING {'c', 'b', '_', 'A', 'g', 'e', 's', 'a'} +/* + * This is the release version number of the AGESA component. + * This string MUST be exactly 12 characters long. + */ +#define AGESA_VERSION_STRING {'V', '1', '.', '1', '.', '0', '.', '3', ' ', ' ', ' ', ' '} + #include "Porting.h" #include "AMD.h" diff --git a/src/vendorcode/amd/agesa/f15tn/AGESA.h b/src/vendorcode/amd/agesa/f15tn/AGESA.h index e03cdc72f6..3ac9071f65 100644 --- a/src/vendorcode/amd/agesa/f15tn/AGESA.h +++ b/src/vendorcode/amd/agesa/f15tn/AGESA.h @@ -50,6 +50,12 @@ */ #define AGESA_PACKAGE_STRING {'c', 'b', '_', 'A', 'g', 'e', 's', 'a'} +/* + * This is the release version number of the AGESA component. + * This string MUST be exactly 12 characters long. + */ +#define AGESA_VERSION_STRING {'V', '0', '.', '0', '.', '0', '.', '1', ' ', ' ', ' ', ' '} + #include "Porting.h" #include "AMD.h" diff --git a/src/vendorcode/amd/agesa/f16kb/AGESA.h b/src/vendorcode/amd/agesa/f16kb/AGESA.h index 7a7d185f23..7e43de416c 100644 --- a/src/vendorcode/amd/agesa/f16kb/AGESA.h +++ b/src/vendorcode/amd/agesa/f16kb/AGESA.h @@ -52,6 +52,12 @@ */ #define AGESA_PACKAGE_STRING {'c', 'b', '_', 'A', 'g', 'e', 's', 'a'} +/* + * This is the release version number of the AGESA component. + * This string MUST be exactly 12 characters long. + */ +#define AGESA_VERSION_STRING {'V', '0', '.', '0', '.', '0', '.', '1', ' ', ' ', ' ', ' '} + #include "Porting.h" #include "AMD.h" -- cgit v1.2.3