]> git.dujemihanovic.xyz Git - u-boot.git/commit
event: Use an event to replace last_stage_init()
authorSimon Glass <sjg@chromium.org>
Tue, 22 Aug 2023 03:17:01 +0000 (21:17 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 31 Aug 2023 17:16:55 +0000 (13:16 -0400)
commit91caa3bb89b112a1421ee2ee3661baf67c64bab9
treef70b4d2452f8ca45025916cd85f0d1af684902bb
parent6a32bfae61652f9dae621410ca6e094f374a1f11
event: Use an event to replace last_stage_init()

Add a new event which handles this function. Convert existing use of
the function to use the new event instead.

Make sure that EVENT is enabled by affected boards, by selecting it from
the LAST_STAGE_INIT option. For x86, enable it by default since all boards
need it.

For controlcenterdc, inline the get_tpm() function and make sure the event
is not built in SPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
54 files changed:
arch/Kconfig
arch/mips/mach-mtmips/cpu.c
arch/mips/mach-pic32/cpu.c
arch/x86/cpu/coreboot/coreboot.c
arch/x86/cpu/cpu.c
arch/x86/cpu/efi/payload.c
arch/x86/cpu/quark/quark.c
board/CZ.NIC/turris_mox/turris_mox.c
board/Marvell/mvebu_armada-37xx/board.c
board/Marvell/octeon_nic23/board.c
board/Marvell/octeontx2/board.c
board/cortina/presidio-asic/presidio.c
board/emulation/qemu-ppce500/qemu-ppce500.c
board/gdsys/a38x/controlcenterdc.c
board/gdsys/mpc8308/gazerbeam.c
board/ge/bx50v3/bx50v3.c
board/keymile/km83xx/km83xx.c
board/keymile/kmcent2/kmcent2.c
board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
board/phytium/durian/durian.c
board/phytium/pomelo/pomelo.c
common/Kconfig
common/board_r.c
common/event.c
configs/bayleybay_defconfig
configs/cherryhill_defconfig
configs/chromebook_coral_defconfig
configs/chromebook_link64_defconfig
configs/chromebook_link_defconfig
configs/chromebook_samus_defconfig
configs/chromebook_samus_tpl_defconfig
configs/chromebox_panther_defconfig
configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
configs/conga-qeval20-qa3-e3845_defconfig
configs/coreboot64_defconfig
configs/coreboot_defconfig
configs/cougarcanyon2_defconfig
configs/crownbay_defconfig
configs/dfi-bt700-q7x-151_defconfig
configs/edison_defconfig
configs/efi-x86_app32_defconfig
configs/efi-x86_app64_defconfig
configs/efi-x86_payload32_defconfig
configs/efi-x86_payload64_defconfig
configs/galileo_defconfig
configs/minnowmax_defconfig
configs/qemu-x86_64_defconfig
configs/qemu-x86_defconfig
configs/som-db5800-som-6867_defconfig
configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig
configs/theadorable-x86-conga-qa3-e3845_defconfig
configs/theadorable-x86-dfi-bt700_defconfig
include/event.h
include/init.h