u-boot/boot
Tom Rini 448e2b6327 event: Correct dependencies on the EVENT framework
The event framework is just that, a framework. Enabling it by itself
does nothing, so we shouldn't ask the user about it. Reword (and correct
typos) around this the option and help text. This also applies to
DM_EVENT and EVENT_DYNAMIC. Only EVENT_DEBUG and CMD_EVENT should be
visible to the user to select, when EVENT is selected.

With this, it's time to address the larger problems. When functionality
uses events, typically via EVENT_SPY, the appropriate framework then
must be select'd and NOT imply'd. As the functionality will cease to
work (and so, platforms will fail to boot) this is non-optional and
where select is appropriate. Audit the current users of EVENT_SPY to
have a more fine-grained approach to select'ing the framework where
used. Also ensure the current users of event_register and also select
EVENT_DYNAMIC.

Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reported-by: Oliver Graute <Oliver.Graute@kococonnector.com>
Reported-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Fixes: 7fe32b3442 ("event: Convert arch_cpu_init_dm() to use events")
Fixes: 42fdcebf85 ("event: Convert misc_init_f() to use events")
Fixes: c5ef202557 ("dm: fix DM_EVENT dependencies")
Signed-off-by: Tom Rini <trini@konsulko.com>
Tested-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-01-18 12:46:13 -05:00
..
android_ab.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
boot_fit.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
bootdev-uclass.c bootstd: Add a way to set up a bootflow 2022-10-31 11:02:44 -04:00
bootflow.c bootstd: Read the Operating System name for distro/scripts 2023-01-16 18:26:50 -05:00
bootflow_internal.h bootstd: Support creating a boot menu 2023-01-16 18:26:50 -05:00
bootflow_menu.c bootstd: Support setting a theme for the menu 2023-01-16 18:26:51 -05:00
bootm.c net: Remove eth_legacy.c 2022-12-07 16:04:17 -05:00
bootm_os.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
bootmeth-uclass.c bootstd: Allow reading a logo for the OS 2023-01-16 18:26:50 -05:00
bootmeth_distro.c bootstd: Read the Operating System name for distro/scripts 2023-01-16 18:26:50 -05:00
bootmeth_efi.c bootstd: Add an implementation of EFI boot 2022-04-25 10:00:04 -04:00
bootmeth_efi_mgr.c bootstd: Allow EFI bootmgr to support an invalid bootflow 2022-08-12 08:17:10 -04:00
bootmeth_pxe.c Rename disto_[pxe_]getfile to distro_[pxe_]getfile 2022-08-26 16:33:48 -06:00
bootmeth_sandbox.c bootstd: Add a sandbox bootmeth driver 2022-04-25 10:00:04 -04:00
bootmeth_script.c bootstd: Allow reading a logo for the OS 2023-01-16 18:26:50 -05:00
bootretry.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
bootstd-uclass.c bootstd: Support setting a theme for the menu 2023-01-16 18:26:51 -05:00
common_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
expo.c expo: Add basic implementation 2023-01-16 18:26:50 -05:00
fdt_region.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android-dt.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
image-board.c image: Move common image code to image_board and command 2023-01-16 18:26:50 -05:00
image-cipher.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-fdt.c boot: Pass the correct FDT to the EVT_FT_FIXUP event 2022-10-17 21:17:13 -06:00
image-fit-sig.c mkimage: fit: Fix signing of configs with external data 2022-10-26 11:36:06 -04:00
image-fit.c image: Allow loading a FIT image for a particular phase 2022-10-31 11:02:45 -04:00
image-host.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-pre-load.c boot: image-pre-load: Check environment for location of signature info 2022-10-11 15:40:48 -04:00
image-sig.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image.c tools: mkimage: add new image type "fdt_legacy" 2022-12-08 09:29:02 -05:00
Kconfig event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
Makefile bootstd: Support creating a boot menu 2023-01-16 18:26:50 -05:00
pxe_utils.c Merge branch 'next' 2023-01-09 11:30:08 -05:00
scene.c expo: Add support for scenes 2023-01-16 18:26:50 -05:00
scene_internal.h expo: Add support for scenes 2023-01-16 18:26:50 -05:00
scene_menu.c expo: Add support for scene menus 2023-01-16 18:26:50 -05:00
vbe.c boot: fix vbe_find_first_device() 2022-08-26 16:32:59 -06:00
vbe_request.c vbe: Support reading the next SPL phase via VBE 2022-10-31 11:03:18 -04:00
vbe_simple.c vbe: Move OS implementation into a separate file 2022-10-31 11:03:36 -04:00
vbe_simple.h vbe: Move OS implementation into a separate file 2022-10-31 11:03:36 -04:00
vbe_simple_fw.c vbe: Record which phases loaded using VBE 2022-10-31 11:04:00 -04:00
vbe_simple_os.c vbe: Add info about the VBE device to the fwupd node 2022-10-31 11:04:00 -04:00