u-boot/arch/x86/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
..
apollolake Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
baytrail event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
braswell common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
broadwell event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
coreboot board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
efi board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
i386 x86: fix longjmp() implementation 2022-10-29 07:36:33 -06:00
intel_common global: Migrate CONFIG_X86_MRC_ADDR to CFG 2022-12-23 10:15:13 -05:00
ivybridge event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
qemu board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
quark event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
queensbay x86: queensbay: Return directly if IGD / SDVO were already disabled 2021-08-03 00:03:14 +08:00
slimbootloader board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
tangier board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
x86_64 x86: efi: Tweak the code used for the 64-bit EFI app 2022-01-15 10:57:22 +01:00
acpi_gpe.c x86: acpi_gpe: Update driver name to match devicetree 2021-02-01 15:11:41 +08:00
call32.S common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
config.mk x86: efi: Don't use the 64-bit link script for the EFI app 2022-01-15 10:57:22 +01:00
cpu.c x86: cosmetic: Fix a typo in the reserve_arch() comments 2022-12-14 12:04:51 +08:00
cpu_x86.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ioapic.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
irq.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
lapic.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile x86: Don't enable SMP in SPL 2020-07-20 09:46:46 +08:00
mp_init.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
mtrr.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pci.c x86: pci: Use PCI_CONF1_ADDRESS() macro 2022-01-12 14:21:24 -05:00
qfw_cpu.c x86: qemu: move QFW to its own uclass 2021-04-12 17:44:55 -04:00
resetvec.S x86: Reduce resetvec size 2019-10-11 17:37:38 +08:00
sipi_vector.S common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
start.S Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
start16.S common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
start64.S x86: start64: Fix copyright message 2019-05-08 13:02:10 +08:00
start_from_spl.S x86: coral: Allow init of debug UART in U-Boot proper 2021-03-27 15:04:30 +13:00
start_from_tpl.S x86: Add more comments to the start-up code 2019-10-08 13:57:36 +08:00
turbo.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
u-boot-64.lds Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
u-boot-spl.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
u-boot.lds Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
wakeup.S x86: Move acpi_s3.h to include/acpi/ 2020-04-16 14:36:28 +08:00