]> git.dujemihanovic.xyz Git - u-boot.git/commit
event: Convert misc_init_f() to use events
authorSimon Glass <sjg@chromium.org>
Fri, 4 Mar 2022 15:43:04 +0000 (08:43 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 10 Mar 2022 13:28:36 +0000 (08:28 -0500)
commit42fdcebf859f93139d58defd5abef44dedb9b17a
tree51cb886505b82fa87bd38ef898fcb153e0c2cd49
parent5b896ed5856f768cdd55cdeb44c5f8f6b6a7a18a
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>
21 files changed:
arch/sandbox/cpu/start.c
board/google/chromebook_coral/coral.c
board/keymile/kmcent2/kmcent2.c
board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
common/Kconfig
common/board_f.c
common/event.c
configs/chromebook_coral_defconfig
configs/kmcent2_defconfig
configs/pg_wcom_expu1_defconfig
configs/pg_wcom_expu1_update_defconfig
configs/pg_wcom_seli8_defconfig
configs/pg_wcom_seli8_update_defconfig
configs/sandbox64_defconfig
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
configs/sandbox_spl_defconfig
configs/tools-only_defconfig
include/configs/km/pg-wcom-ls102xa.h
include/event.h
include/init.h