Skip to content
  • Simon Glass's avatar
    event: Use an event to replace last_stage_init() · 91caa3bb
    Simon Glass authored and Tom Rini's avatar Tom Rini committed
    
    
    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: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    91caa3bb