]> git.baikalelectronics.ru Git - uboot.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)
commit53ac8eacc7d6236dde57cbc4af65aeadabc519f2
tree51cb886505b82fa87bd38ef898fcb153e0c2cd49
parentd5c2a6e8e76ac784e76f3267f0dfc89317cb9822
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