cpu/intel/model_206ax: Add more CPU steppings

The Sandy Bridge steppings appear in the BWG, and Ivy Bridge steppings
appear in reference code. Add them for the sake of completeness.

Change-Id: I7d17cdd04a771ca319c908fc757f868e95ea7944
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48410
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Angel Pons 2020-12-07 13:17:18 +01:00 committed by Felix Held
parent 47a80a045d
commit 7e3126dbc5
2 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,8 @@
#include <stdint.h>
/* SandyBridge CPU stepping */
#define SNB_STEP_B2 2
#define SNB_STEP_C0 3
#define SNB_STEP_D0 5 /* Also J0 */
#define SNB_STEP_D1 6
#define SNB_STEP_D2 7 /* Also J1/Q0 */
@ -17,6 +19,8 @@
#define IVB_STEP_C0 4
#define IVB_STEP_K0 5
#define IVB_STEP_D0 6
#define IVB_STEP_E0 8
#define IVB_STEP_E1 9
#define IS_SANDY_CPU(x) ((x & 0xffff0) == 0x206a0)
#define IS_SANDY_CPU_C(x) ((x & 0xf) == 4)

View File

@ -3,6 +3,7 @@
#ifndef RAMINIT_COMMON_H
#define RAMINIT_COMMON_H
#include <cpu/intel/model_206ax/model_206ax.h>
#include <stdint.h>
#define BASEFREQ 133