mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
event: Convert arch_cpu_init_dm() to use events
Instead of a special function, send an event after driver model is inited and adjust the boards which use this function. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
42fdcebf85
commit
7fe32b3442
26 changed files with 74 additions and 43 deletions
|
@ -60,4 +60,12 @@ int fsp_silicon_init(bool s3wake, bool use_spi_flash);
|
|||
|
||||
typedef asmlinkage int (*fsp_silicon_init_func)(struct fsps_upd *params);
|
||||
|
||||
/**
|
||||
* fsp_setup_pinctrl() - Set up the pinctrl for FSP
|
||||
*
|
||||
* @ctx: Event context (not used)
|
||||
* @event: Event information (not used)
|
||||
*/
|
||||
int fsp_setup_pinctrl(void *ctx, struct event *event);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue