u-boot/drivers/cpu
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
..
at91_cpu.c cpu: at91: add compatible for ARM9260EJ-S 2021-09-21 10:05:37 +03:00
bmips_cpu.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
cpu-uclass.c dm: treewide: Do not opencode uclass_probe_all() 2022-10-17 21:17:12 -06:00
cpu_sandbox.c sandbox: correct cpu nodes 2021-09-25 09:46:15 -06:00
imx8_cpu.c dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
Kconfig event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
Makefile cpu: add basic cpu driver for MediaTek ARM chips 2022-09-23 15:09:16 -04:00
microblaze_cpu.c cpu: microblaze: add error handling in microblaze_cpu_get_desc() 2022-09-13 11:32:48 +02:00
mpc83xx_cpu.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mpc83xx_cpu.h cpu: Add MPC83xx CPU driver 2018-09-18 08:12:21 -06:00
mtk_cpu.c cpu: add basic cpu driver for MediaTek ARM chips 2022-09-23 15:09:16 -04:00
riscv_cpu.c dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00