Skip to content
Commit 91caa3bb authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

event: Use an event to replace last_stage_init()



Add a new event which handles this function. Convert existing use of
the function to use the new event instead.

Make sure that EVENT is enabled by affected boards, by selecting it from
the LAST_STAGE_INIT option. For x86, enable it by default since all boards
need it.

For controlcenterdc, inline the get_tpm() function and make sure the event
is not built in SPL.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 6a32bfae
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment