mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
6a32bfae61
commit
91caa3bb89
54 changed files with 95 additions and 80 deletions
|
@ -270,7 +270,6 @@ void board_init_r(struct global_data *id, ulong dest_addr)
|
|||
__attribute__ ((noreturn));
|
||||
|
||||
int cpu_init_r(void);
|
||||
int last_stage_init(void);
|
||||
int mac_read_from_eeprom(void);
|
||||
int set_cpu_clk_info(void);
|
||||
int update_flash_size(int flash_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue