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>
Showing
- arch/sandbox/cpu/start.c 3 additions, 1 deletionarch/sandbox/cpu/start.c
- board/google/chromebook_coral/coral.c 5 additions, 2 deletionsboard/google/chromebook_coral/coral.c
- board/keymile/kmcent2/kmcent2.c 3 additions, 1 deletionboard/keymile/kmcent2/kmcent2.c
- board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c 4 additions, 1 deletionboard/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
- common/Kconfig 0 additions, 6 deletionscommon/Kconfig
- common/board_f.c 5 additions, 2 deletionscommon/board_f.c
- common/event.c 3 additions, 0 deletionscommon/event.c
- configs/chromebook_coral_defconfig 1 addition, 0 deletionsconfigs/chromebook_coral_defconfig
- configs/kmcent2_defconfig 1 addition, 1 deletionconfigs/kmcent2_defconfig
- configs/pg_wcom_expu1_defconfig 1 addition, 0 deletionsconfigs/pg_wcom_expu1_defconfig
- configs/pg_wcom_expu1_update_defconfig 1 addition, 0 deletionsconfigs/pg_wcom_expu1_update_defconfig
- configs/pg_wcom_seli8_defconfig 1 addition, 0 deletionsconfigs/pg_wcom_seli8_defconfig
- configs/pg_wcom_seli8_update_defconfig 1 addition, 0 deletionsconfigs/pg_wcom_seli8_update_defconfig
- configs/sandbox64_defconfig 0 additions, 1 deletionconfigs/sandbox64_defconfig
- configs/sandbox_defconfig 0 additions, 1 deletionconfigs/sandbox_defconfig
- configs/sandbox_flattree_defconfig 0 additions, 1 deletionconfigs/sandbox_flattree_defconfig
- configs/sandbox_spl_defconfig 0 additions, 1 deletionconfigs/sandbox_spl_defconfig
- configs/tools-only_defconfig 0 additions, 1 deletionconfigs/tools-only_defconfig
- include/configs/km/pg-wcom-ls102xa.h 0 additions, 2 deletionsinclude/configs/km/pg-wcom-ls102xa.h
- include/event.h 3 additions, 0 deletionsinclude/event.h
Loading
Please register or sign in to comment