diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-08-10 15:47:28 +0200 |
---|---|---|
committer | Michael Niewöhner <c0d3z3r0@review.coreboot.org> | 2020-08-29 20:15:37 +0000 |
commit | 2e29c3b0d5168fdc96c3d85c9b54b5a01c950261 (patch) | |
tree | b7fb0cb0c2b99580e22802126092a15c2ead7c48 /src/cpu/x86 | |
parent | 62e883d73b5241fe262415ce52806617a2da614c (diff) |
sb/intel/bd82x6x: Factor out common ME functions
We can now factor out the essentially duplicated ME functions.
We include a .c file to preserve reproducibility. This is needed because
there are two different `mei_base_address` global variables, and we have
to access the same variables in order for builds to be reproducible.
The duplicate global in `me.c` and `me_8.x.c` will be completely gone
once this new `me_common.c` file becomes a standalone compilation unit.
We are wrapping some things in static inline functions, as they won't be
directly accessible anymore after moving to a separate compilation unit.
Tested with BUILD_TIMELESS=1, Asus P8Z77-V LX2 remains identical.
Change-Id: I057809aa039d70c4b5fa9c24fbd26c8f52aca736
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42012
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Michael Niewöhner
Diffstat (limited to 'src/cpu/x86')
0 files changed, 0 insertions, 0 deletions