commit | 1cedca1abaa7caaf8124fb9cb4bdc65a69ac6c07 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Aug 21 21:17:01 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Aug 31 13:16:55 2023 -0400 |
tree | f70b4d2452f8ca45025916cd85f0d1af684902bb | |
parent | 14f1d29ef34ec43f5ba94156689dc445c0286252 [diff] |
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: Simon Glass <sjg@chromium.org>