diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2021-10-20 19:27:14 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-10-21 18:24:05 +0000 |
commit | c6f0ed789baaf102c128d1d45ddd531a2e6fcf4e (patch) | |
tree | d5da78268d0753168d1f6f1001ddc84321785cb1 /src/cpu/amd | |
parent | 3dd9cfbdf57e8a2cdd48d51b81bf77662de25154 (diff) |
cpu/x86/mp_init: use cb_err as mp_init & bsp_do_flight_plan return type
Using cb_err as return type clarifies the meaning of the different
return values. To not change the return types of mp_init_with_smm which
is exposed outside of this compilation unit to keep the scope of this
patch limited, the return value of mp_init gets translated to the int
values in mp_init_with_smm. This could also be done by a cast of the
mp_init return value to int, but an explicit translation of the return
values should be clearer about what it does there.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I4129c1db06a877c47cca87782af965b62dcbbdc2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58489
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/cpu/amd')
0 files changed, 0 insertions, 0 deletions