diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-04-29 22:55:49 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-05-04 18:51:49 +0200 |
commit | 82501922b67e41e596447aee5b42bc4655a927f4 (patch) | |
tree | 7a9cb4886002240371ece9da85caea4a30f1ba6a /src/cpu/allwinner | |
parent | d87c7bc07c03d80fc7c346a027cb000657f1e76b (diff) |
cpu/x86: combine multiprocessor and SMM initialization
In order to reduce code duplication provide a common flow
through callback functions that performs the multiprocessor
and optionally SMM initialization. The existing MP flight
records are utilized but a common flow is provided such
that the chipset/cpu only needs to provide a mp_ops
structure which has callbacks to gather info and provide
hooks at certain points in the sequence.
All current users of the MP code can be switched over to
this flow since there haven't been any flight records that
are overly complicated and long. After the conversion
has taken place most of the surface area of the MP
API can be hidden away within the compilation unit proper.
Change-Id: I6f70969631012982126f0d0d76e5fac6880c24f0
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/14557
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/allwinner')
0 files changed, 0 insertions, 0 deletions