mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
event: Convert misc_init_f() to use events
This hook can be implmented using events, for the three boards that actually use it. Add the event type and event handlers. Drop CONFIG_MISC_INIT_F since we can just use CONFIG_EVENT to control this. Since sandbox always enables CONFIG_EVENT, we can drop the defconfig lines there too. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -30,6 +30,9 @@ const char *const type_name[] = {
|
||||
"dm_post_probe",
|
||||
"dm_pre_remove",
|
||||
"dm_post_remove",
|
||||
|
||||
/* init hooks */
|
||||
"misc_init_f",
|
||||
};
|
||||
|
||||
_Static_assert(ARRAY_SIZE(type_name) == EVT_COUNT, "event type_name size");
|
||||
|
Reference in New Issue
Block a user