aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/ramstage.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-07 18:21:27 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-25 10:23:09 +0000
commitbaebe2afc153172850333968601e33d2686de47b (patch)
treebbc858c7d14f753aceff4469d7eb3e9961d7bf17 /src/soc/intel/baytrail/ramstage.c
parentc5bcd28554ff0a1e5dda13742feb9024a195cb8b (diff)
soc/intel/baytrail: Simplify pattrs definitions
This reduces the differences between Bay Trail and Braswell. Tested with BUILD_TIMELESS=1, Google Ninja remains identical. Change-Id: I90632909cd7d632d80739b3762e4ccba51624b75 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43200 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/baytrail/ramstage.c')
-rw-r--r--src/soc/intel/baytrail/ramstage.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/soc/intel/baytrail/ramstage.c b/src/soc/intel/baytrail/ramstage.c
index 099eb588d3..b15970e7b3 100644
--- a/src/soc/intel/baytrail/ramstage.c
+++ b/src/soc/intel/baytrail/ramstage.c
@@ -22,11 +22,10 @@
#include <soc/ramstage.h>
#include <soc/iosf.h>
-/* Global PATTRS */
-DEFINE_PATTRS;
-
#define SHOW_PATTRS 1
+struct pattrs __global_pattrs;
+
static void detect_num_cpus(struct pattrs *attrs)
{
int ecx = 0;