Files
u-boot/cmd
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
..
2022-10-20 15:22:15 +08:00
2022-09-25 08:30:05 -06:00
2022-10-30 20:07:17 +01:00
2022-09-24 11:34:38 -04:00
2022-04-25 10:00:04 -04:00
2022-09-29 16:07:57 -04:00
2022-10-17 21:17:12 -06:00
2022-09-29 16:07:57 -04:00
2020-05-18 18:36:55 -04:00
2022-10-11 15:40:48 -04:00
2022-02-25 01:41:04 -05:00
2020-05-18 18:36:55 -04:00
2022-08-04 16:18:47 -04:00
2022-08-04 16:18:47 -04:00
2020-05-18 18:36:55 -04:00
2022-09-29 16:07:57 -04:00
2022-08-26 16:32:59 -06:00
2022-01-15 10:57:22 +01:00
2022-09-24 11:34:38 -04:00
2022-03-15 16:19:29 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-10-23 13:33:07 -04:00
2022-08-04 16:18:47 -04:00
2022-09-29 16:07:57 -04:00
2022-05-06 14:39:15 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2022-09-16 11:05:16 -04:00
2020-05-18 18:36:55 -04:00
2022-08-04 16:18:47 -04:00
2022-09-25 08:30:05 -06:00
2020-05-18 18:36:55 -04:00
2021-11-28 16:51:51 -07:00
2022-06-22 21:29:47 -04:00
2022-09-25 08:30:05 -06:00
2020-10-28 11:49:31 -04:00
2022-12-07 16:04:17 -05:00
2022-10-06 22:54:57 +02:00
2022-09-16 11:05:16 -04:00
2022-05-05 15:06:02 -04:00
2020-07-08 17:21:46 -04:00
2022-01-15 10:57:22 +01:00
2022-09-02 13:40:42 -04:00
2022-01-19 18:11:34 +01:00
2020-05-18 18:36:55 -04:00
2022-09-16 11:05:16 -04:00
2022-09-16 11:05:16 -04:00
2022-09-16 11:05:16 -04:00
2022-01-19 18:11:34 +01:00
2021-09-24 14:30:46 -04:00
2020-08-07 22:31:32 -04:00
2022-10-11 15:40:48 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2021-10-21 07:39:05 +02:00
2021-10-09 13:09:56 -04:00
2022-12-07 16:04:17 -05:00
2022-10-31 11:04:00 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2022-09-29 16:07:57 -04:00
2022-10-11 15:40:48 -04:00