AGESA f14/f15tn/f16kb: Factor out AGESA_PACKAGE_STRING

We use the same value everywhere, so factor it out. Note that the field
where this value ends up in was doubled in size for AGESA fam16kb, but
we did not update the definition to fill in the additional space. We are
not changing it in this commit so as to preserve binary reproducibility.
In any case, add a FIXME explaining why this value may not be correct.

TEST=Use abuild --timeless to check that all AGESA f14/f15tn/f16kb
mainboards result in identical coreboot binaries.

Change-Id: Ied118d534ee1e9728db843944d1e042760b4f32c
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41590
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mike Banon <mikebdp2@gmail.com>
Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
This commit is contained in:
Angel Pons
2020-05-21 00:06:15 +02:00
committed by Nico Huber
parent 66ee42daba
commit f689d2ee19
28 changed files with 20 additions and 246 deletions

View File

@ -47,6 +47,12 @@
#ifndef _AGESA_H_
#define _AGESA_H_
/*
* This is the delivery package title.
* This string MUST be exactly 8 characters long.
*/
#define AGESA_PACKAGE_STRING {'c', 'b', '_', 'A', 'g', 'e', 's', 'a'}
#include "Porting.h"
#include "AMD.h"

View File

@ -44,6 +44,12 @@
#ifndef _AGESA_H_
#define _AGESA_H_
/*
* This is the delivery package title.
* This string MUST be exactly 8 characters long.
*/
#define AGESA_PACKAGE_STRING {'c', 'b', '_', 'A', 'g', 'e', 's', 'a'}
#include "Porting.h"
#include "AMD.h"

View File

@ -44,6 +44,14 @@
#ifndef _AGESA_H_
#define _AGESA_H_
/*
* This is the delivery package title.
* This string MUST be exactly 16 characters long.
*
* FIXME: AMD_CODE_HEADER for this platform expects 16 characters, but there's only 8 here.
*/
#define AGESA_PACKAGE_STRING {'c', 'b', '_', 'A', 'g', 'e', 's', 'a'}
#include "Porting.h"
#include "AMD.h"